getProperty: Difference between revisions

From RPTools Wiki
Jump to navigation Jump to search
m (Updated with recent version changes.)
No edit summary
Line 20: Line 20:
[[setProperty|setProperty()]],  
[[setProperty|setProperty()]],  
[[resetProperty|resetProperty()]],  
[[resetProperty|resetProperty()]],  
[[isPropertyEmpty|isPropertyEmptyy()]]
[[isPropertyEmpty|isPropertyEmpty()]]


|changes=
|changes=

Revision as of 01:42, 27 June 2009

 This article is a stub, you can help the RPTools Wiki project by contributing content to expand this article.
 This article needs: Examples of usage.

getProperty() Function

Introduced in version 1.3b48
Returns the value of a Token Property on a Token.

Usage

getProperty(property)
getProperty(property, id)

Parameter

  • property - The property that has its value returned.
  • id - The token id of the token that has its property value returned, defaults to the Current Token.

     Note: This parameter can only be used in a Trusted Macro


See Also

Version Changes

  • 1.3b51 - Added id parameter option.
  • 1.3b51 - Changed to return the default value if the property has no value.