menu with variable options
Posted: Wed Sep 11, 2019 9:33 pm
I'm trying to program a macro for the Crimson Rite ability of the Blood Hunter class. Depending on one's level and choices, the character could have one, two, or three options. I would like for the macro to provide a drop down menu that lists only the options that the character has. I'm storing the options in a variable called PrimalRite that looks like this:
In the above case, the character would have access to the Flame and Storm, but not Frozen options. Is there a way to set up a menu in my Crimson Rite macro that would be able to provide a menu that only includes options with a value of 1?
I could just create 7 menus (one for each possible case), but I suspect there is a better way.
Code: Select all
{"Flame":1,"Frozen":0,"Storm":1}
I could just create 7 menus (one for each possible case), but I suspect there is a better way.