Character Vault
Any Concept / Any System
Compendium
Your System Come To Life
Roll20 for Android
Streamlined for your Tablet
Roll20 for iPad
Streamlined for your Tablet

Difference between revisions of "Token Lock"

From Roll20 Wiki

Jump to: navigation, search
m
m (tokenmod example)
 
(2 intermediate revisions by one user not shown)
Line 1: Line 1:
{{revdate}}{{beta}}{{notebox| This is about an '''Unreleased/Highly Requested feature'''.}}
+
[[File:Token lock beta feb 2022.gif|right|500px|thumbnail| [[Token Lock]] beta showcase(Feb 2022) ]]
 +
<noinclude>{{revdate}}{{stub}} {{gm only tool}} {{main|Token Features}}</noinclude>
 +
[[GMs]] can lock a [[token]] in place on any Virtual Tabletop {{Layers}}.
  
Locking a [[token]] in place, to prevent if from being moved on the map.
+
* {{fpl|10728595/ Release Note - March 2, 2022: Dark Mode & Token Lock released}}
 +
* {{fpl|10670746/ Release Note - Feb 4, 2022: Dark Mode & Token Locking Beta on Dev}}
  
As of Feb 4, 2022, Token Lock is available on the [[Dev Server]] for testing.
+
[[File:Lock-Token-GM-menu March2022.png|thumb|right|500px|Token Locking from the menu, while using [[Dark Mode]] (March 2022)]]
* {{fpl|10670746/ Release Note - Feb 4, 2022: Dark Mode & Token Locking on Dev}}
+
==API==
 +
{{pro only}}
 +
* '''[[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)''
  
==Workaround==
+
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, 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.
+
 
* [[Script:Token Lock]]
 
* [[Script:Token Lock]]
 
* [[Script:Map Lock]]
 
* [[Script:Map Lock]]
  
Another option is boxing in Tokens with [[Windows (Dynamic Lighting)]], using [[Script:DoorKnocker]] or {{fpl|9521203/ UDLWindows}}. This will prevent token movement by [[players]] if "Restrict Movement" is turned on.
+
{| role="presentation" class="wikitable mw-collapsible mw-collapsed"
 +
| Other workarounds that are less practical
 +
|-
 +
| Another option is boxing in Tokens with [[Windows (Dynamic Lighting)]], using [[Script:DoorKnocker]] or {{fpl|9521203/ UDLWindows}}. This will prevent token movement by [[players]] if "Restrict Movement" is turned on.
 
* Creating the window boxes around a token isn't quick, so not practical to lock a player's token who is currently moving around.
 
* Creating the window boxes around a token isn't quick, so not practical to lock a player's token who is currently moving around.
 
* the windows would also block other tokens from moving through the square
 
* the windows would also block other tokens from moving through the square
  
 
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.
 
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.
 +
|}
  
=See Also=
+
<noinclude>
* [[Tokens]]
+
 
+
 
[[Category:Tokens]]
 
[[Category:Tokens]]
 +
[[Category:New features in 2022]]</noinclude>

Latest revision as of 12:01, 23 April 2022

Token Lock beta showcase(Feb 2022)
Main Page: Token Features

GMs can lock a token in place on any Virtual Tabletop b Layers.

Token Locking from the menu, while using Dark Mode (March 2022)

[edit] API

  • 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)

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.
  • Creating the window boxes around a token isn't quick, so not practical to lock a player's token who is currently moving around.
  • the windows would also block other tokens from moving through the square

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.