Difference between revisions of "Script:Mark"
From Roll20 Wiki
(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...") |
Michael H. (Talk | contribs) |
||
Line 7: | Line 7: | ||
{{stub}} | {{stub}} | ||
− | + | Allows players to mark tokens to a facilitate their GM keeping track of what they are targeting. | |
− | <br clear="all"> | + | |
+ | * 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. <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. | ||
+ | |||
=== Changelog === | === Changelog === | ||
{{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. }} |
Revision as of 23:01, 29 March 2015
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.