Remove left player heroe

ManyTimes

I'm so lonesome I could cry...
Reaction score
293
Code:
Untitled Trigger 001
    Events
        Player - Player 1 (Red) leaves the game
        Player - Player 2 (Blue) leaves the game
        Player - Player 3 (Teal) leaves the game
    Conditions
    Actions
        Unit Group - Pick every unit in (Units in (Playable map area) owned by (Triggering player)) and do (Actions)
            Loop - Actions
                Unit - Move (Picked unit) instantly to (Center of (Playable map area))
If you want, you can check if the picked unit is a hero... How? Like this:
Code:
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
    If - Conditions
        ((Picked unit) is A Hero) Equal to True
    Then - Actions
        Unit - Move (Picked unit) instantly to (Center of (Playable map area))
    Else - Actions
 

NightMagi

Member
Reaction score
5
thanks for the fast reply :p

EDIT: omg i cant find "Triggering Player" in
Unit Group - Pick every unit in (Units in (Playable map area) owned by (Triggering player)) and do (Actions)

EDIT2: FOUND IT!
 
General chit-chat
Help Users
  • No one is chatting at the moment.

      The Helper Discord

      Members online

      No members online now.

      Affiliates

      Hive Workshop NUON Dome World Editor Tutorials

      Network Sponsors

      Apex Steel Pipe - Buys and sells Steel Pipe.
      Top