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 .
×

Calling custom beam from API

I'm trying to call a custom Fx that is simlar to a beam. My Fx is named "MM". I assumed since it is defined I could use the Spawnbetween points function with the "MM" instead of "beam-magic" but that gives the default burn Fx. How could I get my custom beam called between two points.?
1465872385
Lithl
Pro
Sheet Author
API Scripter
IIRC, you need to supply the FX's id property, not its name.
1465878020
The Aaron
Roll20 Production Team
API Scripter
Brian is correct: For custom effects, type should be the ID of the custfx object for the custom effect. See:&nbsp; <a href="https://wiki.roll20.net/API:Utility_Functions#Spec" rel="nofollow">https://wiki.roll20.net/API:Utility_Functions#Spec</a>...
Thanks guys!! that worked