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

SmartAOE true free floating control token possible?

1643754289

Edited 1643754325
Absolutely loving the SmartAOE API, but my players are getting frustrated by not being able to drop the control token where they want to exactly, to overlap multiple tokens. The control token either snaps to the grid, or to the center of the square, regardless of what I type in for the  --forceIntersection|<true/yes/false/no/1/0> setting. Is there a way to achieve true "float" and drop the control token wherever they want? Thanks in advance!
You should be able to do <alt>drag and place the token anywhere without it snapping to the grid.
You are correct. That wasn't working before with the default setting, but once I put < --forceIntersection|0> in the equation, the ALT key functions properly. Thanks!
1643805164
David M.
Pro
API Scripter
Yep, for clarification on what is going on: --forceIntersection hijacks the token AFTER placement, taking the dragged (or alt-dragged) location and finding the nearest grid intersection, then moving the center of that token to that intersection. For float aoeTypes larger than 1 square "diameter" (2xradius), the script sets forceIntersection to true by default. For non-float types or for AoEs 1 square or smaller, the script sets forceIntersection to false by default. This is to cover 99+% of cases for these AoE areas. If you add a --forceIntersection line anywhere in your macro, then that explicit setting will override the defaults. Glad you got it working!