nextInitiative: Difference between revisions
Jump to navigation
Jump to search
Verisimilar (talk | contribs) m (Applied Template:MacroFunction) |
|||
Line 1: | Line 1: | ||
= | {{stub}} | ||
{{MacroFunction | |||
|name=nextInitiative | |||
|description= | |||
Advances the initiative to the next [[Token:token|Token]] in the [[Initiative:Initiative Panel|Initiative Panel]]. Only the [[GM]] or a trusted macro can call this function. This function returns the offset into the [[Initiative:Initiative Panel|Initiative Panel]] (starting at 0) of the [[Token:Token|Token]] that will get the [[Initiative:Initiative|Initiative]]. | Advances the initiative to the next [[Token:token|Token]] in the [[Initiative:Initiative Panel|Initiative Panel]]. Only the [[GM]] or a trusted macro can call this function. This function returns the offset into the [[Initiative:Initiative Panel|Initiative Panel]] (starting at 0) of the [[Token:Token|Token]] that will get the [[Initiative:Initiative|Initiative]]. | ||
|usage= | |||
<source lang="mtmacro" line> | <source lang="mtmacro" line> | ||
[h: nextInitiative()] | [h: nextInitiative()] | ||
</source> | </source> | ||
}} | |||
[[Category:Initiative Function]] |
Revision as of 03:04, 9 March 2009
This article is a stub, you can help the RPTools Wiki project by contributing content to expand this article.
nextInitiative() Function
Advances the initiative to the next Token in the Initiative Panel. Only the GM or a trusted macro can call this function. This function returns the offset into the Initiative Panel (starting at 0) of the Token that will get the Initiative.
Usage
[h: nextInitiative()]