Ghallo
11-28-2009, 12:11 AM
Ok, I have 5 toons named:
Toon1
Toon2
Toon3
Toon4
Toon5
Among all the other tags I have setup for each toon is a tag of their name (so Toon1 has a "Toon1" tag).
Under Variables I have the Variables
PiP1 Value: Toon1
PiP2 Value: Toon2
PiP3 Value: Toon3
PiP4 Value: Toon4
PiP5 Value: Toon5
Each variable is set to apply to "!Toon#"
So PiP1 is set to !Toon1
In game, if you character has nothing targeted and you type /focus ... if you have a focus you will clear the focus. If you have nothing set as your focus ... nothing will happen.
So, I setup this macro for SwitchPiP1:
/cleartarget
/focus #PiP1#
/targetlasttarget
What I believe should happen is on Toon1, the value for PiP1 is blank ... so it will get this:
/cleartarget
/focus
/targetlasttarget
Which would then clear the focus (if there was one) and keep the target state as it was.
However, all the other toons will have a value set for PiP1 as Toon1 ... so they will all get this:
/cleartarget
/focus Toon1
/targetlasttarget
Which will then set Toon1 as the focus and everything should just be happy.
Part1 does not seem to work. For some reason the toon is keeping their previous focus value instead of clearing their focus.
So, after all that ... my question is this: What can I do to accomplish my goal? All I want to do is have the "PiP" button clear the focus of the "PiP" toon and set that toon as the focus for all the other toons.
Thanks for any help!
Toon1
Toon2
Toon3
Toon4
Toon5
Among all the other tags I have setup for each toon is a tag of their name (so Toon1 has a "Toon1" tag).
Under Variables I have the Variables
PiP1 Value: Toon1
PiP2 Value: Toon2
PiP3 Value: Toon3
PiP4 Value: Toon4
PiP5 Value: Toon5
Each variable is set to apply to "!Toon#"
So PiP1 is set to !Toon1
In game, if you character has nothing targeted and you type /focus ... if you have a focus you will clear the focus. If you have nothing set as your focus ... nothing will happen.
So, I setup this macro for SwitchPiP1:
/cleartarget
/focus #PiP1#
/targetlasttarget
What I believe should happen is on Toon1, the value for PiP1 is blank ... so it will get this:
/cleartarget
/focus
/targetlasttarget
Which would then clear the focus (if there was one) and keep the target state as it was.
However, all the other toons will have a value set for PiP1 as Toon1 ... so they will all get this:
/cleartarget
/focus Toon1
/targetlasttarget
Which will then set Toon1 as the focus and everything should just be happy.
Part1 does not seem to work. For some reason the toon is keeping their previous focus value instead of clearing their focus.
So, after all that ... my question is this: What can I do to accomplish my goal? All I want to do is have the "PiP" button clear the focus of the "PiP" toon and set that toon as the focus for all the other toons.
Thanks for any help!