This article is a stub, you can help the RPTools Wiki project by contributing content to expand this article.
This article needs: Examples using current functionality.
Contents |
Checks if the specified State is set on a token, return true(1) or false(0).
getState(state)getState(state, id)Parameters
state - The name of the state to check for.
id - The token id of the token to check for the state, defaults to the Current Token. Note: This parameter can only be used in a Trusted Macro.
[if(getState("Dead"), "You are dead!", "You are not dead (yet!)")]State, setState(), setAllStates()
id parameter option.