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

Call customFX from the chat

1471827651
Chibi N.
Forum Champion
Hi everyone! I'm Chibi, a Pro GM for a few years... I've recently learned that you can use the /fx command to aim and fire off the default FX animations, which is really cool. I've created my own custom FX that I want to put into some macros, but I can't seem to use the /fx command to fire them off, what can I do to automate the activation of custom FX or at least let my players fire it somehow?
1471838391
The Aaron
Roll20 Production Team
API Scripter
Have you tried some of the examples from:&nbsp; <a href="https://wiki.roll20.net/Text_Chat#Special_Effects_" rel="nofollow">https://wiki.roll20.net/Text_Chat#Special_Effects_</a>...
1471840664

Edited 1471840755
Chibi N.
Forum Champion
Yes, but that seems to be limited to the default combinations of effects. Custom FX don't conform to that syntax (have set shape and colors) and I haven't been able to figure out how to use them with that command. This is the page on custom FX:&nbsp; <a href="https://wiki.roll20.net/Custom_FX" rel="nofollow">https://wiki.roll20.net/Custom_FX</a> I want to use one of those in a macro similar to how /fx works.
1471871090
The Aaron
Roll20 Production Team
API Scripter
Ah! &nbsp;I'm sorry, I misread your question. &nbsp;I've expanded the wiki to document how that works: &nbsp; <a href="https://wiki.roll20.net/Text_Chat#Custom_FX" rel="nofollow">https://wiki.roll20.net/Text_Chat#Custom_FX</a> Custom FX The /fx command can also be used to invoke Custom FX . For custom effects use the following syntax: /fx &lt;Custom Effect Name&gt; &lt;Source ID&gt; [&lt;Target ID&gt;] Custom Effect Name is whatever you typed in the Name field of the Edit FX dialog. Source ID is the id of a token which is the point of origin of an effect. Target ID is the id of a token which is the point where the effect is focused. It is only required for directed effects and will be ignored by area effects.
1471910563

Edited 1471910731
Chibi N.
Forum Champion
Thanks, but that does not work exactly. /fx &lt;something thats not default effect&gt; &lt;source Id&gt; always causes the Burn-Fire animation. For example, I'm trying /fx Mind-Missile @{selected|token_id} @{target|Foe|token_id} &nbsp; which should shoot an energy ball from selected to a target. It asks me to aim it, but then it just does Burn-Fire on my selected token. Am I doing it wrong? EDIT: Apparently, you cannot have a "-" sign in your FX name, and it doesn't allow spaces. I renamed it to MindMissile and it worked! Thanks a lot! be sure to note that detail since it makes sense to want to use 2 words to name your custom FX.