This article is a stub, you can help the RPTools Wiki project by contributing content to expand this article.
This article needs: Examples using new functionality.
Contents |
Sets all of the States of a Token to on (true(1)) or off (false(0)).
setAllStates(value)
setAllStates(value, id)
Parameter
value - If all states should be set on or off, true(1) or false(0).
id - The token id of the token that should have its States set, defaults to the Current Token. Note: This parameter can only be used in a Trusted Macro.
Set all Token States on
[h: setAllStates(1)]Set all Token States off
[h: setAllStates(0)]id parameter option.