initiativeSize: Difference between revisions

From RPTools Wiki
Jump to navigation Jump to search
No edit summary
No edit summary
Line 5: Line 5:


|usage=
|usage=
<source lang="mtmacro" line>
<syntaxhighlight lang="mtmacro" line>
[h: num = initiativeSize()]
[h: num = initiativeSize()]
</source>
</syntaxhighlight>


|example=
|example=
<source lang="mtmacro" line>
<syntaxhighlight lang="mtmacro" line>
There are [r: initiativeSize()] tokens in the initiative list.
There are [r: initiativeSize()] tokens in the initiative list.
</source>
</syntaxhighlight>
}}
}}
[[Category:Initiative Function]]
[[Category:Initiative Function]]

Revision as of 16:24, 15 March 2023

initiativeSize() Function

Returns the number of tokens in the initiative panel

Usage

[h: num = initiativeSize()]

Example

There are [r: initiativeSize()] tokens in the initiative list.