Roll20 uses cookies to improve your experience on our site. Cookies enable you to enjoy certain features, social sharing functionality, and tailor message and display ads to your interests on our site and others. They also help us understand how our site is being used. By continuing to use our site, you consent to our use of cookies. Update your cookie preferences .
×
Create a free account

Special effect when I reduce hp to a token

1649283151
DM Flint
Marketplace Creator
Hello,There is some api that when a token is lowered life, the bubbling blood (fx) effect comes out. example a goblin has 7 hp loses 3 hp, the animation appears, I want the animation to appear every time I reduce life.
1649285235
keithcurtis
Forum Champion
Marketplace Creator
API Scripter
There is one that does this when the token is below half, but I'm not aware off the top of my head of one that does it when any HP are removed. It certainly would be a simple script.
DM Flint said: Hello,There is some api that when a token is lowered life, the bubbling blood (fx) effect comes out. example a goblin has 7 hp loses 3 hp, the animation appears, I want the animation to appear every time I reduce life. Hi mate, sounds like you are looking for the Aura/Tint HealthColors API.
1649285748
DM Flint
Marketplace Creator
Jared said: DM Flint said: Hello,There is some api that when a token is lowered life, the bubbling blood (fx) effect comes out. example a goblin has 7 hp loses 3 hp, the animation appears, I want the animation to appear every time I reduce life. Hi mate, sounds like you are looking for the Aura/Tint HealthColors API. Yes,but i dont want the auras, hehe
DM Flint said: Jared said: DM Flint said: Hello,There is some api that when a token is lowered life, the bubbling blood (fx) effect comes out. example a goblin has 7 hp loses 3 hp, the animation appears, I want the animation to appear every time I reduce life. Hi mate, sounds like you are looking for the Aura/Tint HealthColors API. Yes,but i dont want the auras, hehe You can turn the auras off in the config settings, or remove them entirely if you import the script and remove all the lines that reference “aura1” and “aura2”. 
1649286514
DM Flint
Marketplace Creator
Jarren said: DM Flint said: Jared said: DM Flint said: Hello,There is some api that when a token is lowered life, the bubbling blood (fx) effect comes out. example a goblin has 7 hp loses 3 hp, the animation appears, I want the animation to appear every time I reduce life. Hi mate, sounds like you are looking for the Aura/Tint HealthColors API. Yes,but i dont want the auras, hehe You can turn the auras off in the config settings, or remove them entirely if you import the script and remove all the lines that reference “aura1” and “aura2”.  How i can view Config settings??
Aura health tint is a bad api though, it doesn't free up the auras.  I wish that there was just the health effects in an api, none of the rest of health auras cause its too laggy for toasters.  Auras cause lag
To clarify, in auras api, the auras don't turn off, they hide behind the tokens art and are still there and the size of an aura doesn't matter for performance for the low end pc's, the game just goes super laggy as 100's of tokens suddenly have hidden 2 auras going for toasters.  I wish that there was just an api that did the health /fx when modifying hps, that is all, nothing else about the health auras script in it.  
1649287255
DM Flint
Marketplace Creator
DM Eddie said: To clarify, in auras api, the auras don't turn off, they hide behind the tokens art and are still there and the size of an aura doesn't matter for performance for the low end pc's, the game just goes super laggy as 100's of tokens suddenly have hidden 2 auras going for toasters.  I wish that there was just an api that did the health /fx when modifying hps, that is all, nothing else about the health auras script in it.   Yeah i want that, "I wish that there was just an api that did the health /fx when modifying hps..." Think dont exist...hehe, only for that i suscribe to pro, but...well...
Deathtracker does this.