getCurrentInitiative: Difference between revisions
Jump to navigation
Jump to search
m (Conversion script moved page getCurrentInitiative to GetCurrentInitiative without leaving a redirect: Converting page title to first-letter uppercase) |
m (Conversion script moved page GetCurrentInitiative to getCurrentInitiative: Converting page titles to lowercase) |
(No difference)
|
Revision as of 22:54, 9 February 2023
getCurrentInitiative() Function
Note: This function can only be used in a Trusted Macro
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()]