sortInitiative: Difference between revisions

From RPTools Wiki
Jump to navigation Jump to search
No edit summary
No edit summary
Line 1: Line 1:
==Function sortInitiative==
==Function sortInitiative==
{{GMOnlyFunction}}
{{GMOnlyFunction}}
Sorts the [[Initiative:Initiative Panel|Initiative Panel]] [[Token:Token|Token]]s and returns the number of [[Token:Token]]s in the [[Initiative:Initiative Panel|Initiative Panel]].
Sorts the [[Initiative:Initiative Panel|Initiative Panel]] [[Token:Token|Token]]s and returns the number of [[Token:Token|Token]]s in the [[Initiative:Initiative Panel|Initiative Panel]].


===Usage===
===Usage===

Revision as of 09:10, 14 December 2008

Function sortInitiative

This is a GM only function, it can not be called by players.

Sorts the Initiative Panel Tokens and returns the number of Tokens in the Initiative Panel.

Usage

[h: numTokens = sortInitiative()]