WoWInterface

WoWInterface (https://www.wowinterface.com/forums/index.php)
-   Macro Help (https://www.wowinterface.com/forums/forumdisplay.php?f=140)
-   -   Camera View Macro (https://www.wowinterface.com/forums/showthread.php?t=41708)

Kywin 10-30-11 04:01 AM

Camera View Macro
 
To any and all that can help,

Trying to write a simple macro that will toggle between two camera views. (i.e. button press toggles camera from view 3 to camera view 1 alternately with each key press.

From what I have been able to piece together...

/Script SetView(3); SetView(3)
/Script SetView(1); SetView(1)

Ultimately, keypress does set the view to position three, but subsequent key presses do nothing.

Thanks in Advance!

Mike-N-Go 10-30-11 04:51 AM

Do you have that in the same macro?

Try putting the scripts in two different macros, for each press of the macro runs the same thing; you are yet to do a toggle.

I do not currently have access to WoW (accidentally deleted it =/); yet, for all in one macro, you could do something like this:

Code:

/run if setV == 1 then SetView(3); setV = 3; else setV = 1; SetView(1) end
I do not have access to WoW, so I am unable to test it.

Let us know how/if it works!

Kywin 10-30-11 08:33 PM

Fantastic! Thanks so much. I cannot explain to you, the time I have wasted trying to figure that out on my own!

:banana:

Kywin 10-31-11 04:44 PM

If you're still around...being as helpful as you have been...

Regarding previous macro, what do you think the issue is with conditional triggers for mount/dismount automation? There are several mods out there (combat cam/Dynamic Cam) that look like they have attempted this, but ultimately they break...

Mike-N-Go 10-31-11 05:06 PM

Quote:

Originally Posted by Kywin (Post 246744)
If you're still around...being as helpful as you have been...

Regarding previous macro, what do you think the issue is with conditional triggers for mount/dismount automation? There are several mods out there (combat cam/Dynamic Cam) that look like they have attempted this, but ultimately they break...

Your question is vague, may you clarify?


All times are GMT -6. The time now is 09:51 AM.

vBulletin © 2024, Jelsoft Enterprises Ltd
© 2004 - 2022 MMOUI