New Macro Conditionals?
Have these been posted before? I don't remember seeing them before: canexitvehicle, cursor, resting, shapeshift
canexitvehicle - seems self explanitory cursor - true if the cursor is dragging a spell or item resting - true if you're resting (in town/getting rested xp) shapeshift - not tested but I think it follows HasTempShapeshiftActionBar (didn't trigger for druid forms) Provided that I'm right about shapeshift, then would: Code:
SecureCmdOptionParse("[vehicleui] [possessbar] 12; [overridebar] 14; [shapeshift] 13; [bar:2] 2; [bar:3] 3; [bar:4] 4; [bar:5] 5; [bar:6] 6; [bonusbar:1] 7; [bonusbar:2] 8; [bonusbar:3] 9; [bonusbar:4] 10; [bonusbar:5] 11; 1") |
Good question. Basically you need to write a function that checks the return value of your SecureCmdOptionParse against the return value of GetActionBarPage().
Last year or so we had quite some issues on the Amber-Shaper Un'sok encounter. That encounter uses the overridebar but the state to spawn it is the progressbar-state. If you start out a new Deathknight one of the first quests will be the eye. That will activate under progressbar-state aswell but this time swap out the main actionbar. There was another event ... Feast or sth. Where you sit on a table. Another progressbar-state. But again using the override bar. I need to activate the overridebar under certain circumstances, so I had to change the condition to include progressbar and check for the vehicle unit at the same time. Code:
[overridebar][vehicleui][possessbar,@vehicle,exists] Lua Code:
|
Quote:
|
Quote:
|
Quote:
|
Quote:
|
Interesting, thanks.
|
All times are GMT -6. The time now is 06:17 AM. |
vBulletin © 2024, Jelsoft Enterprises Ltd
© 2004 - 2022 MMOUI