nextInitiative: Difference between revisions
Jump to navigation
Jump to search
Verisimilar (talk | contribs) m (Macros:Functions:nextInitiative moved to nextInitiative) |
Verisimilar (talk | contribs) m (Added version, cleaned up formatting.) |
||
Line 2: | Line 2: | ||
{{MacroFunction | {{MacroFunction | ||
|name=nextInitiative | |name=nextInitiative | ||
|trusted=true | |||
|version=1.3b41 | |||
|description= | |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]]. | ||
Line 7: | Line 9: | ||
|usage= | |usage= | ||
<source lang="mtmacro" line> | <source lang="mtmacro" line> | ||
nextInitiative() | |||
</source> | </source> | ||
}} | }} | ||
[[Category:Initiative Function]] | [[Category:Initiative Function]] |
Revision as of 10:15, 10 March 2009
This article is a stub, you can help the RPTools Wiki project by contributing content to expand this article.
nextInitiative() Function
Note: This function can only be used in a Trusted Macro
• Introduced in version 1.3b41
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
nextInitiative()