initiativeSize: Difference between revisions

From RPTools Wiki
Jump to navigation Jump to search
No edit summary
No edit summary
 
(2 intermediate revisions by the same user not shown)
Line 2: Line 2:
|name=initiativeSize
|name=initiativeSize
|description=
|description=
Returns the number of tokens in the [[introduction to Initiative|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.