setCurrentInitiative: Difference between revisions

From RPTools Wiki
Jump to navigation Jump to search
(New page: ==Function setCurrentInitiative== {{GMOnlyFunction}} Gives the Initiative:Initiative to the Token:Token at the specified offset in the Iniatiative:Initiative Panel. Offsets ...)
 
m (Applied Template:MacroFunction)
Line 1: Line 1:
==Function setCurrentInitiative==
{{MacroFunction
{{GMOnlyFunction}}
|name=setCurrentInitiative
|trsuted=true
|description=
Gives the [[Initiative:Initiative|Initiative]] to the [[Token:Token|Token]] at the specified offset in the [[Iniatiative:Initiative Panel|Initiative Panel]]. Offsets start at 0.
Gives the [[Initiative:Initiative|Initiative]] to the [[Token:Token|Token]] at the specified offset in the [[Iniatiative:Initiative Panel|Initiative Panel]]. Offsets start at 0.


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


===Examples===
|examples=
Give Initiative to the 4th [[Token:Token|Token]].
Give Initiative to the 4th [[Token:Token|Token]].
<source lang="mtmacro" line>
<source lang="mtmacro" line>
[h: setCurrentInitiative(3)]
[h: setCurrentInitiative(3)]
</source>
</source>
}}
[[Category:Initiative Function]]

Revision as of 03:45, 9 March 2009

setCurrentInitiative() Function

Gives the Initiative to the Token at the specified offset in the Initiative Panel. Offsets start at 0.

Usage

[h: setCurrentInitiative(offset)]

Examples

Give Initiative to the 4th Token.
[h: setCurrentInitiative(3)]