setState: Difference between revisions
Jump to navigation
Jump to search
Verisimilar (talk | contribs) m (Applied Template:MacroFunction) |
Verisimilar (talk | contribs) m (Macros:Functions:setState moved to setState) |
(No difference)
|
Revision as of 04:38, 9 March 2009
setState() Function
Sets the value of the Token State on the Current Token. If The value is 0 then the Token State is unset if it is non zero then it is set.
Usage
[h: setState(name, value)]
Examples
To set the "Dead" Token State on the Current Token
[h: setState("Dead", 1)]
To reset the "Dead" Token State on the Current Token
[h: setState("Dead", 0)]