removeAllNPCsFromInitiative: Difference between revisions

From RPTools Wiki
Jump to navigation Jump to search
No edit summary
No edit summary
 
(3 intermediate revisions by the same user not shown)
Line 3: Line 3:
|trusted=true
|trusted=true
|description=
|description=
Removes all of the [[Token:NPC|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.     
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]]
[[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()]