
Hey folks!
So I'm trying to combine ChatSetAttr with the Hunter's Mark script using the 2014 R20 5e sheet in a jumpgate game. My goal is to give my player the ability to add her mark to a target token to indicate who has hunter's mark (the HM script does this very reliably) and then to also turn on the additional damage the spell does by using ChatSetAttr to turn on the top slot in the global damage modifier list.
I've used ChatSetAttr to do the second part of that before, so I think it should work?
Here's the script I'm using in a macro:
!setattr --sel --silent --repeating_damagemod_$0_global_damage_active_flag|1
!hunters-mark @{selected|character_id} @{target|token_id}
Each of them individually do what they're supposed to, but when I put them together as above in a single macro, the HM script works, but the ChatSetAttr doesn't, and I get the error message below.
Any suggestions on how to get this to work? if possible?
thanks!