prevInitiative: Difference between revisions

From RPTools Wiki
Jump to navigation Jump to search
m (Conversion script moved page prevInitiative to PrevInitiative without leaving a redirect: Converting page title to first-letter uppercase)
m (Conversion script moved page PrevInitiative to prevInitiative: Converting page titles to lowercase)
(No difference)

Revision as of 23:41, 9 February 2023

prevInitiative() Function

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

Introduced in version 1.8
Restores the initiative to the previous Token in the Initiative Panel, returning to the previous round if necessary. Only the GM or a trusted macro can call this function. This function returns the offset into the Initiative Panel (starting at 0) of the Token that will receive Initiative. Note: neither this function nor the corresponding UI button will allow the Initiative to fall back any further than the first token in the first round.

Usage

prevInitiative()


See Also

Version Changes

  • 1.8 - Added function.