getInitiative: Difference between revisions

From RPTools Wiki
Jump to navigation Jump to search
(New page: ==Function getInitative== Returns the Iniatiative:initiative of the current Token:token ===Usage=== <source lang="mtmacro" line> [h: init = getInitiative()] </source> ===Examp...)
 
No edit summary
Line 1: Line 1:
==Function getInitative==
{{MacroFunction
|name=getInitative
|description=Returns the [[Iniatiative:initiative{{!}}initiative]] of the current [[Token:token{{!}}token]]


Returns the [[Iniatiative:initiative|initiative]] of the current [[Token:token|token]]
|usage=
 
===Usage===
<source lang="mtmacro" line>
<source lang="mtmacro" line>
[h: init = getInitiative()]
[h: init = getInitiative()]
</source>
</source>


===Examples===
|example=
<source lang="mtmacro" line>
<source lang="mtmacro" line>
Your initiative is [r: getInitiative()]
Your initiative is [r: getInitiative()]
</source>
</source>
}}
[[Category:Initiative Function]]
[[Category:Token Function]]

Revision as of 03:33, 7 March 2009

getInitative() Function

Returns the initiative of the current token

Usage

[h: init = getInitiative()]

Example

Your initiative is [r: getInitiative()]