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

macro queries

I play in a pathfinder group that uses Path of War, wich means i like to make a seperate macro for my special moves. But now i gained a new feat that lets me combine manouvers. But that's not my question: Can a querie in a macro trigger another querie? As in, if the first querie asks if i am charging, i want a zero to mean no charging, proceed as normal. And a 1 would mean i am chargin, triggering a querie that asks if i am using a certain boost. Is that possible?
1436233209
The Aaron
Roll20 Production Team
API Scripter
No, that is not possible. All Roll Queries will be expanded from start to finish before proceeding with processing the macro. Additionally, there is no conditional construct for macros whereby you could cause a choice of things to happen. The closest you could get would be some sort of complicated macro that would evaluate differently based on the number put in a Roll Query, such that you could enter 0, 1, 2, etc and get a mathematical result that was correct for the situation that 0, 1, or 2 described. A macro like that would be extremely long and complicated. See the Dice Reference and the Order of Operations for further information about expansion of Roll Queries: <a href="https://wiki.roll20.net/Dice_Reference#Order_of_Op" rel="nofollow">https://wiki.roll20.net/Dice_Reference#Order_of_Op</a>...