nextInitiative: Difference between revisions
Jump to navigation
Jump to search
m (Fixing wikilink) |
(Adding seeAlso link to prevInitiative, cleaning up unhelpful links.) |
||
Line 1: | Line 1: | ||
{{MacroFunction | {{MacroFunction | ||
|name=nextInitiative | |name=nextInitiative | ||
Line 5: | Line 4: | ||
|version=1.3b41 | |version=1.3b41 | ||
|description= | |description= | ||
Advances the initiative to the next [[ | Advances the initiative to the next [[Introduction to Tokens|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 [[Introduction to Tokens|Token]] that will get the Initiative. | ||
|usage= | |usage= | ||
Line 11: | Line 10: | ||
nextInitiative() | nextInitiative() | ||
</source> | </source> | ||
|also= | |||
{{func|prevInitiative}} | |||
}} | }} | ||
[[Category:Initiative Function]] | [[Category:Initiative Function]] |
Revision as of 15:47, 9 August 2020
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()