• Listen to a special audio message from Bill Roper to the Hive Workshop community (Bill is a former Vice President of Blizzard Entertainment, Producer, Designer, Musician, Voice Actor) 🔗Click here to hear his message!
  • Read Evilhog's interview with Gregory Alper, the original composer of the music for WarCraft: Orcs & Humans 🔗Click here to read the full interview.
  • Create a faction for Warcraft 3 and enter Hive's 19th Techtree Contest: Co-Op Commanders! Click here to enter!
  • Create a void inspired texture for Warcraft 3 and enter Hive's 34th Texturing Contest: Void! Click here to enter!
  • The Hive's 21st Texturing Contest: Upgrade is now concluded, time to vote for your favourite set of icons! Click here to vote!

Trigger screwing up

Status
Not open for further replies.
Level 18
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

  • 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
          • -------- ------------------------------------------------------------------------------------- --------
      • -------- ------------------------------------------------------------------------------------- --------
 
Status
Not open for further replies.
Top