- Joined
- May 11, 2012
- Messages
- 2,108
I have this trigger which opens multiboard when you press F2, but the thing that screwes up is, when, let's say player 4 presses F2, and his multiboard opens and he gets the hero he previously had selected selected, all other players get selected triggering player's hero. Same with P5, 6, 7, 8 etc...
I can provide you with more info in neccesary.
Event is: Player[TempInt] Selects a Unit
I can provide you with more info in neccesary.
Event is: Player[TempInt] Selects a Unit
-
QuickOpen
-
Events
-
Conditions
-
Actions
-
-------- ------------------------------------------------------------------------------------- --------
-
For each (Integer TempInt) from 1 to 8, do (Actions)
-
Loop - Actions
-
-------- ------------------------------------------------------------------------------------- --------
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
-
(Triggering unit) Equal to QuickOpen[TempInt]
-
-
Then - Actions
-
-------- ------------------------------------------------------------------------------------- --------
-
Selection - Select SelectedUnit[TempInt]
-
-------- ------------------------------------------------------------------------------------- --------
-
Custom script: if GetLocalPlayer() == udg_Player[udg_TempInt] then
-
If ((Multiboard is minimized) Equal to True) then do (Multiboard - Maximize Multiboard) else do (Multiboard - Minimize Multiboard)
-
Custom script: endif
-
-------- ------------------------------------------------------------------------------------- --------
-
-
Else - Actions
-
-
-------- ------------------------------------------------------------------------------------- --------
-
-
-
-------- ------------------------------------------------------------------------------------- --------
-
-