Player slot Empty

saio

New Member
Reaction score
0
how can I make A unit removed permanently from the game when there's no player controling it (slot Empty)?
I need it for escape map so it can target the hero
Edit: can I make abomination Trowing Hook (like on Pudge Wars) Only that it's trowing it to random places
and if some one save all that think's on map it will be better
10x For Helping Me People
 

ManyTimes

I'm so lonesome I could cry...
Reaction score
293
Code:
Untitled Trigger 002
    Events
        Map initialization
    Conditions
    Actions
        For each (Integer A) from 1 to 12, do (Actions)
            Loop - Actions
                If (All Conditions are True) then do (Then Actions) else do (Else Actions)
                    If - Conditions
                        ((Player((Integer A))) slot status) Equal to Is playing
                    Then - Actions
                    Else - Actions
                        Unit Group - Pick every unit in (Units in (Playable map area) owned by (Player((Integer A)))) and do (Actions)
                            Loop - Actions
                                Unit - Remove (Picked unit) from the game
If a player is NOT playing, unused slot, this will remove ALL units owned by that player that you have preplaced in the editor. Why only those? and not those you create later on also? Because the event, Map Initliaiztion (aka map init, map int...)...
HF
 

saio

New Member
Reaction score
0
10x man let me try it
Edit : can't finde a few functions can you save the trigger on an empty map?
 
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