|
|
(2 intermediate revisions by 2 users not shown) |
Line 1: |
Line 1: |
− | {{script overview
| + | #Redirect[[API:Script Index]] |
− | |name=TurnMarker1
| + | <!-- Don't delete redirect, help center links to this page even though API have been removed --> |
− | |author={{user profile|104025|Aaron C. M.}}
| + | |
− | |version=1.22
| + | |
− | |lastmodified=2015-02-01}}
| + | |
− | {{stub}}
| + | |
− | | + | |
− | Round counter and a moving marker that shows who's turn it is.
| + | |
− | <br clear="all">
| + | |
− | | + | |
− | | + | |
− | I started off using Honey Badger's [https://app.roll20.net/forum/post/447239/script-highlight-token-at-top-of-initiative#post-540608%5D Initiative highlight script] but wanted some different behavior. Along with requests and suggestions from Jarret B., it has grown into quite a bit of script.
| + | |
− | | + | |
− | ===Features===
| + | |
− | * Automatic creation of marker token if not already present on the page.
| + | |
− | * Scaling of marker to show up even under opaque square tokens.
| + | |
− | * Marker follows token with current turn if moved.
| + | |
− | * Automatic adding of Round marker to initiative order.
| + | |
− | * Round announce in chat. [Optional]
| + | |
− | * Announcement of tokens ending their turns and tokens beginning their turn. [Optional]
| + | |
− | * Player name whose turn it is in turn announcement. [Optional]
| + | |
− | * Automatic skipping of hidden token's turns. [Optional]
| + | |
− | * Marker is hidden for hidden token's turns. (if not auto-skipped)
| + | |
− | * Automatically hides the marker when the Turn Order box is closed.
| + | |
− | * Turn marker animations [Optional]
| + | |
− | * Spinning marker [Optional]
| + | |
− | * Pulsing aura 1 on marker [Optional]
| + | |
− | * Pulsing aura 2 on marker (different phase) [Optional]
| + | |
− | * !eot command to advance the turn order, but only if the player controls the current token or is a GM.
| + | |
− | * !tm command usable by GM only to configure TurnMarker.
| + | |
− | | + | |
− | | + | |
− | === Changelog ===
| + | |
− | {{changelog version|1.24| -- |* Fixed crash with custom turnorder entries when advancing the turn order with !eot.}}
| + | |
− | {{changelog version|1.23| -- |* Fixed crash because of manually emptying the turnorder before closing it, Take 2!}}
| + | |
− | {{changelog version|1.22| -- |* Fixed crash because of manually emptying the turnorder before closing it.}}
| + | |
− | {{changelog version|1.21| -- |* Fixed crash in other scripts because of adding properties to the Array Prototype!}}
| + | |
− | {{changelog version|1.20| -- |* Fixed startup crash in a brand new campaign due to turnorder being '' instead of [].}}
| + | |
− | {{changelog version|1.19| -- |* Update checking for isGM in the on('ready',...).}}
| + | |
− | {{changelog version|1.18| -- |* Added support to call Reset() on my Mark script if you're using it.}}
| + | |
− | {{changelog version|1.17| -- |* Fixed crash bug when announce-player is on, but the token with the turn has no player controlling it.}}
| + | |