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

[PF] Creating your own choice macros (nesting rolls and calls into fallthrough conditions)

Hello there friends! This is a request for something I've been wanting to do for months, but has been conveniently implemented for almost every one of my needs in the latest PF sheets. I'm talking about a list of all of my (something). Before, I took a macro making a choice of all my ability checks, both for me and my eidolon. The code was here <a href="https://wiki.roll20.net/Pathfinder_Character_Shee" rel="nofollow">https://wiki.roll20.net/Pathfinder_Character_Shee</a>... (the "All Skills Query" one). I tried to do the same for all of my spells, having the actual Roll macro for all of my spells, but to no avail. In the latest PF sheets, this was beautifully implemented with the magnificent buttons we have for all of our spells, skills, weapons, etc. to make easy buttons, a functionality I absolutely love. However, it is bugged for Items. It always indicates that you have nothing, when my inventory now has important Wands and potions I want to use, for which I took time to make macros for chain gifs (my wand of enlarge person first summons a gif of a character using a wand, then another gif for the animation of the enlarge person spell itself, with the number of uses left before). However, I would like to implement all of my item rolls in one button, something I cannot do with the bugged item button. Hence coming back to the old project of having a condition macro giving me a choice for which item to use. The only problem with that is that while I can indeed nest condition macros, I have not yet been able to nest Rolls inside of my condition, despite trying to convert this or that or half of my code to HTML entities and whatnot. I've spent hours trying to figure this out, both before the 'All Spells' button update to make it for my spells before giving up, and now again for my items, for which I still didn't manage to do it. I wanted to do something as simple as only putting a condition for the number in repeating_item_$?..._roll or some other combinations (choices for the whole roll code, etc. etc.). I found no ways to store a variable either (only the initiative tracker can more or less do that). Anyways, any way I can do that? Just put rolls or calls or whatnot in a condition? Thanks a lot! :)
1492015706

Edited 1492015984
OK why do I find the answer to this 1 minute after posting this, when I searched for HOURS before to no avail. I think I might be an idiot. Anyway, 2 seconds after posting this, looking for the exact terminology for what I call "roll" which is absolutely not a roll (the thing you call with a percent sign), I find that you have the incredible button creating macro : [Label](~selected|ability) This kinda closes the thread since I can now make my own button macros. I was absolutely looking at the wrong place (actually too far down on the page, with the wrong keywords). However, I'm still curious as to whether or not I can nest calls into fallthrough conditions, so I'll leave this open.
1492018463
Scott C.
Forum Champion
Sheet Author
API Scripter
Compendium Curator
What do you mean by nesting calls into fallthrough conditions?
1492142207
chris b.
Pro
Sheet Author
API Scripter
Also what is wrong with the items? Did you check the "show" button on each item you want to appear in the menu? If so, try checking one off and back on just to see if that helps.