getCurrentInitiative
getCurrentInitiative() Function
Gets the offset of the token in the initiative panel that has the initiative. The offset starts at 0, if no token has initiative then -1 is returned.
Usage
[h: offset = getCurrentInitiative()]
Initiative Panel: A dockable panel in MapTool that provides simple initiative tracking functionality.Token: A visual marker representing a character, monster, or NPCTrusted Macro: A macro run from a Library token or run by the GM, that cannot be edited by a player.Macro: A series of text instructions used to automate processes in MapTool.