removing a unit

hortononon

"I give em the hip then I take it away"-Jim Thorpe
Reaction score
29
ok, i want to know how to set up triggers to remove a unit if it isnt being controlled by anyone, i put map initialization for event, player1red controller equal to none and action is remove wolf, which is the unit for player 1 red

this didnt work so what does? and i dont really want a code explanation...
 

ReVolver

Mega Super Ultra Cool Member
Reaction score
609
Can you post your trigger so we can see?
 

hortononon

"I give em the hip then I take it away"-Jim Thorpe
Reaction score
29
Melee Initialization Copy 2 Copy 3
Events
Map initialization
Conditions
(Player 6 (Orange) controller) Equal to None
Actions
Unit - Remove Antelope 0002 <gen> from the game
 

ReVolver

Mega Super Ultra Cool Member
Reaction score
609
Code:
    Events
        Map initialization
    Conditions
    Actions
        Player Group - Pick every player in (All players) and do (Actions)
            Loop - Actions
                If (All Conditions are True) then do (Then Actions) else do (Else Actions)
                    If - Conditions
                        ((Picked player) controller) Equal to User
                        ((Picked player) slot status) Equal to Is playing
                    Then - Actions
                        Unit - Remove Antelope for (Picked player)
                    Else - Actions
                        Do nothing
 
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