(Formerly known as global function GetRoomPropertyText, which is now obsolete)
static String Room.GetTextProperty(string property)
Returns the custom property setting of the PROPERTY for the current room.
This command works with Text properties only. The property's text will be
returned from this function.
Use the equivalent GetRoomProperty function to get a non-text property.
Note that you cannot retrieve room properties of other rooms - only the current room
can be checked.
Example:
String description = Room.GetTextProperty("Description");
Display("The room's description: %s", description);
will retrieve the room's "description" property then display it.
See Also: GetRoomProperty
|