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

Making the "Alter Bar on Token" Script work with the "Temp HP Manager" script

As the title says. Is there any way to get this script to work with with the Temp HP Manager (second one down) from the wiki? The temp HP manager is working, but it doesn't update when Alter Bar changes the HP bar. I know next to nothing about javascript, so I imagine there's an obvious reason why, but is there any way to make this work with my nonexistent coding skills?
1424800619
The Aaron
Pro
API Scripter
It is because changes made by API scripts do not trigger events that are received by event handlers registered with the on('') function. It is possible to fix this, but it requires non-trivial changes to both scripts.