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

/FX Macro Help

Team mates, I am trying to animate an /fx macro for fireball that fires a beam and fireball effect together. I have the following code: /fx beam-fire @{target|Caster|token_id} @{target|Destination|token_id} /fx fireball @{target|Destination|token_id} @{target|Destination|token_id} This works when I test the macro, but when I attempt to utilize it from the API button it is linked to via Fireball's spell description ([Spell FX](!
 #Fireball), I get the following error and only the fireball fx goes of: /fx beam-fire -NIO7uLz7mgREMGPtneg -NIO7uMC6-9ACinunYzH Can someone help me figure out what I am doing wrong here?
I'm not sure if this is the only issue, but you can't have a space before the # symbol. But I'm also getting just a button in chat that displays #Fireball afterwards instead of running the macro. However, there is a better way to do this instead, that won't require html substitutions: 1. Create a "Macro Mule" character named  'Spells'   2. Create an Ability on 'Spells' titled 'Fireball' with the /FX code in it: /fx beam-fire @{target|Caster|token_id} @{target|Destination|token_id} /fx fireball @{target|Destination|token_id} @{target|Destination|token_id} Create your macro and the reference code will look like this: [Fireball FX](~Spells|Fireball) You can repeat the process for other spells by adding them onto the Macro Mule character and referencing the name of the spell created as an Ability.
Jarren, I KNEW it was something so simple that I was overlooking it. The space was the problem. Thanks for the assist and the cheeky other method. A second pair of eyes is always good when it comes to code. -Mal