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

API Help

Hi, I'm not very tech savvy and need help resolving an API error. I have loaded in my campagin the Turn Tracker, Token Status Manager and the Blood Splatter and Pool API and keep getting the following error: undefined:1400 throw "Error: toFront() must be given an object either from an event or ge ^ Error: toFront() must be given an object either from an event or getObj() or similar. Let me know if someone know what I should be searching for to modify, replace or something. Thanks! AG
1442427757

Edited 1442427844
DK Heinrich
Marketplace Creator
Sheet Author
Try and disable all the scripts, then add them back 1 at a time to see which is the culprit. Also make sure they are all up to date (I know Blood Splatter went through some changes and has been re-written with status markers -  here )
1442440071
The Aaron
Pro
API Scripter
It's helpful if you can list the links to where you got the scripts too.
@The Aaron you're right I should probably include the sources next time but @DK Heinrich's link fixed it this time. Looks like the Token Status and Blood scripts had conflicts with each other and the author made them into one. With the updated script it works pretty good. Thanks for your help!
1442515683
The Aaron
Pro
API Scripter
Great!  Glad to hear you got it working. =D