initiativeSize: Difference between revisions

From RPTools Wiki
Jump to navigation Jump to search
(New page: ==Function initiativeSize== Returns the number of tokens in the Initiative:initiative panel ===Usage=== <source lang="mtmacro" line> [h: num = initiativeSize()] </source> ===Exampl...)
 
No edit summary
 
(6 intermediate revisions by 3 users not shown)
Line 1: Line 1:
==Function initiativeSize==
{{MacroFunction
Returns the number of tokens in the [[Initiative:initiative panel|initiative panel]]
|name=initiativeSize
|description=
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=
===Examples===
<syntaxhighlight lang="mtmacro" line>
<source 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]]

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