We use Cookies to help personalize and improve Roll20. For more information on our use of non-essential Cookies, visit our Privacy Policy here.
Advertisement Create a free account

[Script] Hunters Mark


Edited 1593501114
Sheet Author
API Scripter
This script lets a character mark a token&nbsp; with their own signature marker. You can mark only one token a time, and when you mark a new token, the old token is automatically unmarked. This script is not meant to replace TokenMod, or the various Status Marker scripts. But it fills a hole they dont occupy: when you need to remember &nbsp;which token you have previously marked, and unmark them when you mark a new target. In other words, abilities like Hunter's Mark. The script can show you a menu of options: You can also use text comments, like !hunters-mark help to activate commands. Here are the options. Hunter's Mark Instructions Use !hunters-mark followed by one of the commands below. show This shows the current list of hunters, and their marks. add To add a new hunter, select a token representing the character and apply the status marker you want to use as their mark. Then click Add. delete To remove a character from the list of hunters, select a token representing them and click Delete. help Show this description. menu Show a set of buttons to activate the script's features. mark a target To mark a target, use !hunters-mark [character id of hunter] [token id of target]. A good way to do this is !hunters-mark @{selected|character_id} @{target|token_id} The show command shows you what characters are stored, with their Marker, and the target they have currently marked, if any. It looks like this: You can find the script here:&nbsp; <a href="https://gist.github.com/G-G-G/a8350e1e1e688c43a787e5b58c71d7ae" rel="nofollow">https://gist.github.com/G-G-G/a8350e1e1e688c43a787e5b58c71d7ae</a> To use it, first select a character you want to use as a hunter, and add the status marker they will use. Then click the add &nbsp;button. That will register that character, and you can now mark other tokens with that character.
David M.
API Scripter