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:Mark"

From Roll20 Wiki

Jump to: navigation, search
(Created page with "{{script overview |name=Mark |author={{user profile|104025|Aaron C. M.}} |version=0.22 |dependencies={{api repository link|IsGM}} |lastmodified=2015-01-01}} {{stub}} Places a...")
 
m
 
(One intermediate revision by one user not shown)
Line 1: Line 1:
 +
{{revdate}}{{stub}}
 +
 +
Allows players to mark tokens to a facilitate their GM keeping track of what they are targeting.
 
{{script overview
 
{{script overview
 
|name=Mark
 
|name=Mark
|author={{user profile|104025|Aaron C. M.}}
+
|author=[[Aaron|Aaron C. M.]]
|version=0.22
+
|version=0.3.5
|dependencies={{api repository link|IsGM}}
+
|lastmodified=2018-01}}
|lastmodified=2015-01-01}}
+
* Markers are cleared out when the turn changes, when the turn order is closed, or when the player's page is changed.
{{stub}}
+
 
 +
* Supports players that are not on the same page.
 +
 
 +
* !mark-clear command for GMs to clear marks without affecting turn order. <br clear="all">
 +
 
 +
 
 +
an example of a macro that could utilize this script:
 +
 
 +
!mark @{target|Target 1|token_id}
 +
Hit? [[ {1d20+4}>@{target|Target 1|AC} ]]
 +
 
 +
!mark puts a marker on the target, then the next line of the macro uses that target as part of a calculation.
  
Places a numbered Marker under tokens, clears on turn change/close, and page change.
 
<br clear="all">
 
  
 
=== Changelog ===
 
=== Changelog ===
 +
{{changelog version|0.3.5|2018-01|* update}}
 
{{changelog version|0.22|2015-02-01|* Release}}
 
{{changelog version|0.22|2015-02-01|* Release}}
 +
{{changelog version|0.21|??|* Removed some debug logging. (Thanks Vince!)}}
 +
{{changelog version|0.2|??|* Added a public function Reset(), which can be called from other scripts to clear the markers, such as my Turn Marker script. }}

Latest revision as of 23:43, 22 October 2021


Allows players to mark tokens to a facilitate their GM keeping track of what they are targeting.

API ScriptAuthor: Aaron C. M.
Version: 0.3.5
Last Modified: 2018-01
Code: Mark
Dependencies: None
Conflicts: None
  • Markers are cleared out when the turn changes, when the turn order is closed, or when the player's page is changed.
  • Supports players that are not on the same page.
  •  !mark-clear command for GMs to clear marks without affecting turn order.


an example of a macro that could utilize this script:

!mark @{target|Target 1|token_id}
Hit? [[ {1d20+4}>@{target|Target 1|AC} ]]

!mark puts a marker on the target, then the next line of the macro uses that target as part of a calculation.


[edit] Changelog

v0.3.5 (2018-01)

  • update


v0.22 (2015-02-01)

  • Release


v0.21 (??)

  • Removed some debug logging. (Thanks Vince!)


v0.2 (??)

  • Added a public function Reset(), which can be called from other scripts to clear the markers, such as my Turn Marker script.