Removing Towers

ScarletSky

New Member
Reaction score
0
I'm trying to get the triggers to remove a player's towers and builder after they leave.
But everything I try ends up failing.
Unit Group - Remove all units of (Units owned by Player 2(Blue)) from (Units in (Entire map))
That's what I've recently tried and it destroys the builder, but not the towers.
 

hugahug

New Member
Reaction score
3
Trigger:
  • Untitled Trigger 001
    • Events
      • Player - Player 1 (Red) leaves the game
    • Conditions
    • Actions
      • Set UnitGroup = (Units in (Playable map area) owned by Player 1 (Red))
      • Unit Group - Pick every unit in UnitGroup and do (Unit - Remove (Picked unit) from the game)


(u have to Destroy the UnitGroup with a custom script at the end of the trigger)
 

Whisky

New Member
Reaction score
45
Try this instead:

Trigger:
  • Unit Group - Pick every unit in (Units owned by Player 2 (Blue)) and do (Actions)
    • Loop - Actions
      • Unit - Kill (Picked unit)
 

ScarletSky

New Member
Reaction score
0
That second trigger set only works on the unit that was selected during the time they left, if any were selected at all.
 
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