A
/ \ _ Play Now Nemesis on
| | | | _______ _ _ _______ _______ _ _______
| |\ | | | ____| | \ / | | ____| / ____| | | / ____|
/-------/-------------------------------------------------------------------,
O= Home <=XX| About News Pics Adventurers Wizards Download Connect >
\-------\-------------------------------------------------------------------'
| | \ | | |____ | | | | | |____ ___ \ \ | | ___ \ \
| | \_| |_______| |_| |_| |_______| |_______/ |_| |_______/
\ /
V
Documentation Area
Document Path: /doc/living/query_property
Name: query_property - get a room property from a player
Syntax:
#include <room_defines.h>
mixed query_property(mixed prop)
Description:
The query_property call returns the value of a special room property.
All room properties of the room the player is in are loaded auto-
matically into to player by the move_player call.
The call is normally identical to the query_prop(mixed prop) call to
the environment of the player.
Return value:
If the property was found, the property value is returned, else 0.
Examples:
this_player()->query_property(P_NO_FIGHT);
See also:
This page was generated in LPC
Imprint / Impressum