getRawProperty: Difference between revisions

From RPTools Wiki
Jump to navigation Jump to search
(Initial write-up.)
 
No edit summary
Line 4: Line 4:
|version=1.3b51
|version=1.3b51
|description=
|description=
Gets the unevaluated value of a property, returns {{code|""}} if the property is empty. This will not return the property's default value.
Gets the unevaluated value of a [[Token:token property|token property]], returns {{code|""}} if the property is empty. This will not return the property's default value.


|usage=
|usage=

Revision as of 10:47, 25 March 2009

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

getRawProperty() Function

Introduced in version 1.3b51
Gets the unevaluated value of a token property, returns "" if the property is empty. This will not return the property's default value.

Usage

getRawProperty(prop)
getRawProperty(prop, id)

Parameters

  • prop - The name of the property to return.
  • id - The id of the token to retrieve the property from.