setCurrentInitiative: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
m (Fixing wikilinks) |
||
Line 3: | Line 3: | ||
|trsuted=true | |trsuted=true | ||
|description= | |description= | ||
Gives the [[Initiative:Initiative|Initiative]] to the [[ | Gives the [[Initiative:Initiative|Initiative]] to the [[Token]] at the specified offset in the [[Iniatiative:Initiative Panel|Initiative Panel]]. Offsets start at 0. | ||
To clear, specify a number that is not a valid token offset, like -1. | To clear, specify a number that is not a valid token offset, like -1. | ||
Line 13: | Line 13: | ||
|examples= | |examples= | ||
Give Initiative to the 4th [[ | Give Initiative to the 4th [[Token]]. | ||
<source lang="mtmacro" line> | <source lang="mtmacro" line> | ||
[h: setCurrentInitiative(3)] | [h: setCurrentInitiative(3)] |
Revision as of 13:53, 19 July 2011
setCurrentInitiative() Function
Gives the Initiative to the Token at the specified offset in the Initiative Panel. Offsets start at 0.
To clear, specify a number that is not a valid token offset, like -1.
Usage
[h: setCurrentInitiative(offset)]
Examples
Give Initiative to the 4th Token.
[h: setCurrentInitiative(3)]
Clear current initiative (any number that is not a valid token offset will work).
[h: setCurrentInitiative(-1)]
[h: setCurrentInitiative(999)]