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 .
×
If you're having issues creating a character, clear your cookies and log in again. If you continue having issues, contact us.
Create a free account

AoE script not correctly aligned

I made a color spray but whenever I cast it, it asks me for the radius and then points the graphic to the northwest.  It will not let me select another direction for it using the cone/breath option.  Any ideas what I may be doing wrong?
1512836686
Ada L.
Marketplace Creator
Sheet Author
API Scripter
For the cone option, the AoE's direction is set to whatever the token's rotation handle is facing. This is not always the direction that the token's graphic is actually facing.
thank you.  I did figure out that it sets based on WHERE I draw the line when setting the effect.  That line determines which direction the graphic points.  I really like the script.  I get lots of API crashes based on if I attack a larger or smaller token that my source token, but I'm learning where the limits are.
1512873990
Ada L.
Marketplace Creator
Sheet Author
API Scripter
Crashes? Can you provide a copy of your API console log when a crash like this happens?