• 🏆 Texturing Contest #33 is OPEN! Contestants must re-texture a SD unit model found in-game (Warcraft 3 Classic), recreating the unit into a peaceful NPC version. 🔗Click here to enter!
  • It's time for the first HD Modeling Contest of 2024. Join the theme discussion for Hive's HD Modeling Contest #6! Click here to post your idea!

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