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

Personal tools

Difference between revisions of "Script:Map Lock"

From Roll20 Wiki

Jump to: navigation, search
(Created page with "{{script overview |name=MapLock |author={{user profile|104025|Aaron C. M.}} |version=0.1 |dependencies={{api repository link|IsGM}} |lastmodified=2015-02-28}} {{stub}} Provid...")
 
(update to 4.6, add instructions)
 
Line 2: Line 2:
 
|name=MapLock
 
|name=MapLock
 
|author={{user profile|104025|Aaron C. M.}}
 
|author={{user profile|104025|Aaron C. M.}}
|version=0.1
+
|version=0.4.6
 
|dependencies={{api repository link|IsGM}}
 
|dependencies={{api repository link|IsGM}}
|lastmodified=2015-02-28}}
+
|lastmodified=2020-05-22}}
{{stub}}
+
  
 
Provides locking of graphics to prevent moving/resizing/rotating them.  Also highlighting.
 
Provides locking of graphics to prevent moving/resizing/rotating them.  Also highlighting.
 +
 +
'''MapLock''' provides a way to lock individual graphics in place. This prevents them from being moved, resized, or rotated by reverting any of those changes that are made to them. It also provides tinting of locked items.
 +
 +
'''Note:''' Even though it's called MapLock, it works for any graphics on any layers.
 +
 +
==Commands==
 +
<code>!map-lock &lt; lock | unlock | toggle-highlight | --help &gt;</code>
 +
 +
Adjusts locking options for selected graphics.
 +
 +
* <code>lock</code> -- Adds these graphics to the list of locked items.
 +
* <code>unlock</code> -- Removes these graphics from the list of locked items.
 +
* <code>toggle-highlight</code> -- Turns on or off the red tinting of locked graphics.
 +
* <code>--help</code> -- Shows the help
 +
 
<br clear="all">
 
<br clear="all">
  
 
=== Changelog ===
 
=== Changelog ===
 +
{{changelog version|0.4.2|2020-05-22|* [https://github.com/Roll20/roll20-api-scripts/pull/979 link]}}
 
{{changelog version|0.1|2015-02-28|* Release}}
 
{{changelog version|0.1|2015-02-28|* Release}}

Latest revision as of 13:38, 17 June 2020

API ScriptAuthor: Aaron C. M.
Version: 0.4.6
Last Modified: 2020-05-22
Code: MapLock
Dependencies: IsGM
Conflicts: None

Provides locking of graphics to prevent moving/resizing/rotating them. Also highlighting.

MapLock provides a way to lock individual graphics in place. This prevents them from being moved, resized, or rotated by reverting any of those changes that are made to them. It also provides tinting of locked items.

Note: Even though it's called MapLock, it works for any graphics on any layers.

[edit] Commands

!map-lock < lock | unlock | toggle-highlight | --help >

Adjusts locking options for selected graphics.

  • lock -- Adds these graphics to the list of locked items.
  • unlock -- Removes these graphics from the list of locked items.
  • toggle-highlight -- Turns on or off the red tinting of locked graphics.
  • --help -- Shows the help


[edit] Changelog

v0.4.2 (2020-05-22)


v0.1 (2015-02-28)

  • Release