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...)
 
No edit summary
 
(9 intermediate revisions by 4 users not shown)
Line 1: Line 1:
==Function removeAllNPCsFromInitiative==
{{MacroFunction
{{GMOnlyFunction}}
|name=removeAllNPCsFromInitiative
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.     
|trusted=true
|description=
Removes all of the [[Introduction to Tokens|NPC]] [[Token]]s from the [[Initiative:Initiative Panel|Initiative Panel]]. This function returns the number of [[Token]]s that were removed. Only the [[Introduction to Game Hosting#Server Options and Settings|GM]] can call this function.     


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

Latest revision as of 23:59, 9 May 2023

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()]