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 in Macros

Good Morning, and sorry to post another bother about this and thank you to those who have chimed in and aided me previously as the tips are working wonderfully in games where I am the GM. My question is this: Can I used the format listed in hte Custom FX document in a "/fx" macro? I am having a devil of a time with it. I found "/fx beam-fire @{selected|token_ID} @{target|Target 1|token_ID}" which is glorious, but I want more! That line of code is helping me work out a lot of fun little fx tricks, but not everything.  What I would like to do is use the format style below so I can use other call outs such as the "onDeath": one that works so well for me as a GM to spice up a game I am playing in, and give the GM a bit of a surprise. Is this possible without needing a separate macro set up like I am doing in the game I run? And is there a way to have the fx play based on a mouse click/location rather than a token? { "maxParticles": 3000, "size": 15, "sizeRandom": 0, "lifeSpan": 15, "lifeSpanRandom": 0, "emissionRate": 50, "speed": 30, "speedRandom": 7, "angle": -1, "angleRandom": 1, "duration": 25 }
1506701083
Scott C.
Forum Champion
Sheet Author
API Scripter
Compendium Curator
The /fx macro can only call fx that have been defined by the tool (either the defaults or custom ones) as a pro user you can call the default ones in any game, but it is not possible to set up custom ones in non pro games.
1506701412
The Aaron
Pro
API Scripter
So, it sounds like your questions are this: As a player, is there any way for me to create/use a custom FX without the GM manually adding it?   No, with the caveat that an API script installed once by the GM could allow a player to define a custom FX. Is there a way with the /fx command to target a location, rather than a token, thus duplicating the behavior of the FX Tool?   No, the closest you can come to that is having a transparent token you can drag out on the map and target. Does that answer all your questions?
Thank you both Aaron and Scott! Your insights are greatly appreciated and do answer all applicable questions!