setInitiative: Difference between revisions

From RPTools Wiki
Jump to navigation Jump to search
(New page: ==Function setInitiative== Sets the Initiative:Initiative of the Token:Current Token. ===Usage=== <source lang="mtmacro" line> [h: setInitiative(val)] </source> ===Examples=== ...)
 
m (Applied Template:MacroFunction)
Line 1: Line 1:
==Function setInitiative==
{{MacroFunction
|name=setInitiative
|description=
Sets the [[Initiative:Initiative|Initiative]] of the [[Token:Current Token|Current Token]].
Sets the [[Initiative:Initiative|Initiative]] of the [[Token:Current Token|Current Token]].


===Usage===
|usage=
<source lang="mtmacro" line>
<source lang="mtmacro" line>
[h: setInitiative(val)]
[h: setInitiative(val)]
</source>
</source>


===Examples===
|examples=
<source lang="mtmacro" line>
<source lang="mtmacro" line>
[h: setInitiative(1d20)]
[h: setInitiative(1d20)]
</source>
</source>
}}
[[Category:Initiative Function]]

Revision as of 04:00, 9 March 2009

setInitiative() Function

Sets the Initiative of the Current Token.

Usage

[h: setInitiative(val)]

Examples

[h: setInitiative(1d20)]