setState

From RPTools Wiki
Revision as of 23:22, 21 December 2008 by Cclouser (talk | contribs)
Jump to navigation Jump to search

Function setState

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)]