setAllStates

From RPTools Wiki
Revision as of 09:57, 10 March 2009 by Verisimilar (talk | contribs) (Added version, cleaned up formatting.)
Jump to navigation Jump to search

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

setAllSates() Function

Introduced in version 1.3b40
Sets all of the Token States of the Current Token to on (non zero) or off (0).

Usage

setAllStates(value)

Parameter

  • value - If all states should be set on or off, true(1) or false(0).

Examples

Set all Token States on
    [h: setAllStates(1)]

Set all Token States off

    [h: setAllStates(0)]