(No problem! =D)
Glenn H. said:
@Greg B.: The script is helpfully annotated, so you can easily delete the section that starts with //SET PLAYER AURA to achieve this. In the current iteration, this comprises lines 99-126.
This is amazing, question is there anyway to turn this off for pcs and only use it for NPCs?Done, Thanks for the suggestion!
DXWarlock (William R) said:
AddGreg B. said:This is amazing, question is there anyway to turn this off for pcs and only use it for NPCs?Done, Thanks for the suggestion!
v0.9.1
Added toggles for PC and NPC health colors.
!token-mod --set aura1_radius|0 aura2_radius|0You can change the permissions and colors too, of course. =D
The Aaron said:
No expansion necessary...!token-mod --set aura1_radius|0 aura2_radius|0You can change the permissions and colors too, of course. =D
The Aaron said:
!token-mod --set tint_color|transparent !token-mod --set tint_color|#ff0000etc..
The Aaron said:
HAHAHA. =D At this point, I think the only thing you can't do to a token through token-mod but can through the menu is assign controlled by. =D
Greg B. said:
I was also thinking maybe a Reset feature would be nice, since its tracking the health of monsters, and please let me know if this is outside of the scope of what you are doing here but, I was thinking it could do two things.
1. Remove all auras / tints from a target
2. Reset the @{Target|HP|current to @{Target|HP|max}
The Aaron said:Its mostly your work, I bug you when I break it on how to fix them :P
=D. Ok, time to get the thread back on topic.
Big fan of your work, DX!!
DXWarlock (William R) said:
Greg B. said:
I was also thinking maybe a Reset feature would be nice, since its tracking the health of monsters, and please let me know if this is outside of the scope of what you are doing here but, I was thinking it could do two things.
1. Remove all auras / tints from a target
2. Reset the @{Target|HP|current to @{Target|HP|max}
I might be able to do the first, second is a bit out of the range I had planned for it.
But first I can add to my to do list, once I figure out how to make it so you can toggle it for individual tokens so they dont ever get it, I can add it so its a toggle for each. Might take a while, as I think I'll need to work out storing them all in the state somehow, and values for if they use it and if its toggled on or off.The Aaron said:Its mostly your work, I bug you when I break it on how to fix them :P
=D. Ok, time to get the thread back on topic.
Big fan of your work, DX!!
Ken L. said:
This is really cool, I can't use it though as my other scripts do things with auras. But for the off games where I don't use them I'll definitely implement your script DX.
Very creative!
PS: A small note that change events aren't sent for things done by the script interface. So if you have another script alter the health of a token, it won't send a change event. That's expected as if a script changed a token reacting on a change, that would create some circular logic without careful checks.
Not familiar with that one, what does it conflict with on it? Maybe I can work something out.Saevar L. "Liquid-Sonic" said:
If this could work with the Altersbar script. I'd use this all the time :(
DXWarlock (William R) said:
Not familiar with that one, what does it conflict with on it? Maybe I can work something out.Saevar L. "Liquid-Sonic" said:
If this could work with the Altersbar script. I'd use this all the time :(
Target.set("bar" + Bar + "_value", CurrentValue -= AlterValue); } handleToken(Target); }); };
"Token bar3 is linked"and so on. It seems to appear whenever I adjust the HP of an NPC token (the aura still seems to be working on them despite the error).
{"who":"error","type":"error","content":"Unable to find a player or character with name: HealthColors"}
"Still working after trying to roll hp"
{"name":"SyntaxError","expected":["\"(\"","\".\"","\"[\"","\"abs(\"","\"ceil(\"","\"d\"","\"floor(\"","\"round(\"","\"t\"","\"{\"","[ |\\t]","[+|\\-]","[0-9]"],"found":null,"message":"Expected \"(\", \".\", \"[\", \"abs(\", \"ceil(\", \"d\", \"floor(\", \"round(\", \"t\", \"{\", [ |\\t], [+|\\-] or [0-9] but end of input found.","offset":0,"line":1,"column":1}
{"who":"error","type":"error","content":"There was an error with your formula. Please try again."}
"Still working after trying to roll hp"
"Token bar3 is linked"
{"who":"error","type":"error","content":"Unable to find a player or character with name: Shaped"}
(From Shaped): Token bar3 is linked
Mark R. said:
Best death sound? The Wilhelm Scream. And it's in SoundCloud!