Difference between revisions of "Token Lock"
From Roll20 Wiki
Andreas J. (Talk | contribs) (feature released) |
Andreas J. (Talk | contribs) m (tokenmod example) |
||
Line 10: | Line 10: | ||
{{pro only}} | {{pro only}} | ||
* '''[[TokenMod]]''' supports this from version 0.8.74 | * '''[[TokenMod]]''' supports this from version 0.8.74 | ||
+ | ** ex. {{c|!token-mod --flip lockMovement}} ''(flips the lock-status of selected tokens, so unlocked tokens get locked, and locked tokens can move again)'' | ||
There are two [[API]] that can kinda achieves a token lock(created before Token Lock was released as a feature), but neither does truly stop tokens from being moved, but rather resets their position after moving, so if [[Dynamic Lighting]] is active, neither API prevents users from revealing a bit more than wanted. | There are two [[API]] that can kinda achieves a token lock(created before Token Lock was released as a feature), but neither does truly stop tokens from being moved, but rather resets their position after moving, so if [[Dynamic Lighting]] is active, neither API prevents users from revealing a bit more than wanted. |
Latest revision as of 12:01, 23 April 2022
Page Updated: 2022-04-23 |
This article is a stub. |
This Tool is only available for GMs in a game. |
GMs can lock a token in place on any Virtual Tabletop b Layers.
- Release Note - March 2, 2022: Dark Mode & Token Lock released(Forum)
- Release Note - Feb 4, 2022: Dark Mode & Token Locking Beta on Dev(Forum)
[edit] API
This is about a Roll20 feature exclusive to Pro-subscribers (and often to players in a Game created by a Pro-subscriber). If you'd like to use this feature, consider upgrading your account. |
- TokenMod supports this from version 0.8.74
- ex.
!token-mod --flip lockMovement
(flips the lock-status of selected tokens, so unlocked tokens get locked, and locked tokens can move again)
- ex.
There are two API that can kinda achieves a token lock(created before Token Lock was released as a feature), but neither does truly stop tokens from being moved, but rather resets their position after moving, so if Dynamic Lighting is active, neither API prevents users from revealing a bit more than wanted.
Other workarounds that are less practical |
Another option is boxing in Tokens with Windows (Dynamic Lighting), using Script:DoorKnocker or UDLWindows(Forum). This will prevent token movement by players if "Restrict Movement" is turned on.
For GMs who want to prevent players from moving too far on the map on their own out-of-turn, they could segment the map into "sections", by placing Windows blocking movement further in, while not blocking sight. Could be used for starting a cut-scene, and stopping players from accidentally revealing too much of what's further in. |