getInitiativeRound: Difference between revisions
Jump to navigation
Jump to search
m (Text replacement - "source>" to "syntaxhighlight>") |
No edit summary |
||
(3 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
{{MacroFunction | {{MacroFunction | ||
|name=getInitiativeRound | |name=getInitiativeRound | ||
|description=Returns the current [[Initiative | |description=Returns the current [[Introduction to Initiative|round number]] in the [[Introduction to Initiative|initiative panel]]. Returns {{code|-1}} if round number is blank. | ||
|usage= | |usage= | ||
< | <syntaxhighlight lang="mtmacro" line> | ||
[h: round = getInitiativeRound()] | [h: round = getInitiativeRound()] | ||
</syntaxhighlight> | </syntaxhighlight> | ||
|examples= | |examples= | ||
< | <syntaxhighlight lang="mtmacro" line> | ||
Round Number [r: getInitiativeRound()] | Round Number [r: getInitiativeRound()] | ||
</syntaxhighlight> | </syntaxhighlight> | ||
}} | }} | ||
[[Category:Initiative Function]] | [[Category:Initiative Function]] |
Latest revision as of 23:59, 24 April 2023
getInitiativeRound() Function
Usage
[h: round = getInitiativeRound()]
Examples
Round Number [r: getInitiativeRound()]