removeAllNPCsFromInitiative: Difference between revisions

From RPTools Wiki
Jump to navigation Jump to search
(New page: ==Function removeAllNPCsFromInitiative== {{GMOnlyFunction}} Removes all of the Token:NPC Tokens from the Initiative Panel. This functio...)
 
m (Applied Template:MacroFunction)
Line 1: Line 1:
==Function removeAllNPCsFromInitiative==
{{MacroFunction
{{GMOnlyFunction}}
|name=removeAllNPCsFromInitiative
|trusted=true
|description=
Removes all of the [[Token:NPC|NPC]] [[Token:Token|Token]]s from the [[Initiative:Initiative Panel|Initiative Panel]]. This function returns the number of [[Token:Token|Token]]s that were removed. Only the [[GM]] can call this function.     
Removes all of the [[Token:NPC|NPC]] [[Token:Token|Token]]s from the [[Initiative:Initiative Panel|Initiative Panel]]. This function returns the number of [[Token:Token|Token]]s that were removed. Only the [[GM]] can call this function.     


===Usage===
|usage=
<source lang="mtmacro" line>
<source lang="mtmacro" line>
[h: removeAllNPCsFromInitiative()]
[h: removeAllNPCsFromInitiative()]
</source>
</source>
}}
[[Category:Initiative Function]]

Revision as of 03:16, 9 March 2009

removeAllNPCsFromInitiative() Function

 Note: This function can only be used in a Trusted Macro

Removes all of the NPC Tokens from the Initiative Panel. This function returns the number of Tokens that were removed. Only the GM can call this function.

Usage

[h: removeAllNPCsFromInitiative()]