(Formerly known as GetCharacterPropertyText, which is now obsolete)
(Formerly known as Character.GetPropertyText, which is now obsolete)
String Character.GetTextProperty(string property)
Returns the custom property setting of the PROPERTY for the specified character.
This command works with Text properties only. The property's text will be
returned from this function.
Use the equivalent GetProperty function to get a non-text property.
Example:
String description = cEgo.GetTextProperty("Description");
Display("EGO's description: %s", description);
will retrieve EGO's "description" property and display it.
See Also: Character.GetProperty
|