initiativeSize: Difference between revisions

From RPTools Wiki
Jump to navigation Jump to search
(Applied Template:MacroFunction)
No edit summary
 
(6 intermediate revisions by 3 users not shown)
Line 2: Line 2:
|name=initiativeSize
|name=initiativeSize
|description=
|description=
Returns the number of tokens in the [[Initiative:initiative panel|initiative panel]]
Returns the number of tokens in the [[Introduction to Initiative|initiative panel]]


|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]]

Latest revision as of 23:59, 4 May 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.