setInitiativeHold: Difference between revisions

From RPTools Wiki
Jump to navigation Jump to search
No edit summary
m (Applied Template:MacroFunction)
Line 1: Line 1:
==Function setInitiativeHold==
{{MacroFunction
|name=setInitiativeHold
|description=
Sets if the [[Token:Current Token|Current Token]] is [[Initiative:on hold|on hold]] in the [[Initiative:Initiative Panel|Initiative Panel]]. If the value passed is non zero then the [[Token:Current Token|Current Token]] is placed [[Initiative:on hold|on hold]], if it is 0 it is removed from [[Initiative:on hold|on hold]].
Sets if the [[Token:Current Token|Current Token]] is [[Initiative:on hold|on hold]] in the [[Initiative:Initiative Panel|Initiative Panel]]. If the value passed is non zero then the [[Token:Current Token|Current Token]] is placed [[Initiative:on hold|on hold]], if it is 0 it is removed from [[Initiative:on hold|on hold]].


===Usage===
|usage=
<source lang="mtmacro" line>
<source lang="mtmacro" line>
[h: setInitiativeHold(value)]
[h: setInitiativeHold(value)]
</source>
</source>
}}
[[Category:Initiative Function]]

Revision as of 04:04, 9 March 2009

setInitiativeHold() Function

Sets if the Current Token is on hold in the Initiative Panel. If the value passed is non zero then the Current Token is placed on hold, if it is 0 it is removed from on hold.

Usage

[h: setInitiativeHold(value)]