removeAllPCsFromInitiative: Difference between revisions

From RPTools Wiki
Jump to navigation Jump to search
m (Applied Template:MacroFunction)
No edit summary
 
(7 intermediate revisions by 4 users not shown)
Line 3: Line 3:
|trusted=true
|trusted=true
|description=
|description=
Removes all of the [[Token:PC|PC]] [[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 [[Introduction to Tokens|PC]] [[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: removeAllPCsFromInitiative()]
[h: removeAllPCsFromInitiative()]
</source>
</syntaxhighlight>
}}
}}
[[Category:Initiative Function]]
[[Category:Initiative Function]]

Latest revision as of 22:56, 9 May 2023

removeAllPCsFromInitiative() Function

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

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

Usage

[h: removeAllPCsFromInitiative()]