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...)
 
(Applied Template:MacroFunction)
Line 1: Line 1:
==Function initiativeSize==
{{MacroFunction
|name=initiativeSize
|description=
Returns the number of tokens in the [[Initiative:initiative panel|initiative panel]]
Returns the number of tokens in the [[Initiative:initiative panel|initiative panel]]


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


 
|example=
===Examples===
<source 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>
</source>
}}
[[Category:Initiative Function]]

Revision as of 20:09, 8 March 2009

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.