(Formerly known as GetCharacterProperty, which is now obsolete)
Character.GetProperty(string property)
Returns the custom property setting of the PROPERTY for the specified character.
This command works with Number properties (it returns the number), and with Boolean
properties (returns 1 if the box was checked, 0 if not).
Use the equivalent GetTextProperty function to get a text property.
Example:
if (cEgo.GetProperty("Value") > 200)
Display("EGO's value is over 200!");
will print the message if EGO has its "Value" property set to more than 200.
See Also: Character.GetTextProperty
|