Heya, atm i am writing a addon that re-arranges my UI when i am in a raid or a BG, and all depending on the size of the raid. Most things work pretty well, but i am new to writing addons, and there is a problem i cant seem to solve:
I want my addon to move Grid to different positions. I couldnt find out how to do that directly from my addon, so i decided to go the long way and use another addon for it, Vizor2. I can move the frame how i want with a simple /command in-game. But now i cant find out how to let my addon execute that /command :(
So does anyone maybe have a tip how to move grid directly? And also how to execute /commands (if it is possible at all) because it would make a lot of things a lot easier.
1/ Download GridDynamicZoneSwitch
In the following I will assume that you want two setups, one for 10 men groups, the other for 25-men groups
2/ Put your Grid frame where you want it for 10 men group
3/ Go to Grid / Profile / Other, type in PvE10 (for example) and press enter
4/ Put your Grid frame where you want it for 25 men group
5/ Go to Grid / Profile / Other, type in PvE25 (for example) and press enter
6/ Go to Grid / Dynamic Zone Switch and for each 25-men raid zones specify you want to load profile PvE25, for each 10-men zones specify you want to load PvE10.
Voil?... (<- Edit : that forum butchers my few french snobisms :( )
PS : it's actually more than your position that you can save in profile, with PvE10 and PvE25 all standard Grid settings can actually different, you could have entirely different setups (width / height of cells, status / indicators links etc...)