Script:Mark
From Roll20 Wiki
Revision as of 23:01, 29 March 2015 by Michael H. (Talk | contribs)
API ScriptAuthor: Aaron C. M.
Version: 0.22
Last Modified: 2015-01-01
Code: Mark
Dependencies: IsGM
Conflicts: None
Version: 0.22
Last Modified: 2015-01-01
Code: Mark
Dependencies: IsGM
Conflicts: None
This article is a stub. |
Allows players to mark tokens to a facilitate their GM keeping track of what they are targeting.
- 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.
Changelog
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.