getInitiativeRound: Difference between revisions

From RPTools Wiki
Jump to navigation Jump to search
No edit summary
m (Text replacement - "source>" to "syntaxhighlight>")
Line 6: Line 6:
<source lang="mtmacro" line>
<source lang="mtmacro" line>
[h: round = getInitiativeRound()]
[h: round = getInitiativeRound()]
</source>
</syntaxhighlight>


|examples=
|examples=
<source lang="mtmacro" line>
<source lang="mtmacro" line>
Round Number [r: getInitiativeRound()]
Round Number [r: getInitiativeRound()]
</source>
</syntaxhighlight>
}}
}}
[[Category:Initiative Function]]
[[Category:Initiative Function]]

Revision as of 18:01, 14 March 2023

getInitiativeRound() Function

Returns the current round number in the initiative panel. Returns -1 if round number is blank.

Usage

<source lang="mtmacro" line> [h: round = getInitiativeRound()] </syntaxhighlight>

Examples

<source lang="mtmacro" line>

Round Number [r: getInitiativeRound()]

</syntaxhighlight>