• 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.

Remove all units from map at once

Status
Not open for further replies.
Level 8
Joined
Sep 15, 2006
Messages
426
Use the unit group action. By default it's set to select all units in playable map area. Then, inside the unit group action, make an action that says Remove (Picked Unit) From Game or whatever it is.
 
Level 9
Joined
Aug 15, 2007
Messages
261
Use the unit group action. By default it's set to select all units in playable map area. Then, inside the unit group action, make an action that says Remove (Picked Unit) From Game or whatever it is.
it will be much easyer to do it whit region
  • Untitled Trigger 003
    • Events
      • Unit - A unit enters (Current camera bounds)
    • Conditions
    • Actions
      • Unit - Kill Footman 0004 <gen>
      • Unit - Kill Penguin 0003 <gen>
and you can do that for all units on the map
 
Last edited by a moderator:
Level 3
Joined
Mar 6, 2007
Messages
48
hmm Just_Spectating, i do believe that the trigger "pick every unit" causes memory leaks, better to find an alternative.
 
Status
Not open for further replies.
Top