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

Replace all units after specific event with new unit

Status
Not open for further replies.
Level 17
Joined
Jun 17, 2007
Messages
1,433
  • Unit Group - Pick every unit in (Units of type Footman) and do (Actions)
    • Loop - Actions
      • Unit - Remove (Picked unit) from the game
That will leak however, so be sure to store and then remove the group using a variable, or
  • Custom script: set bj_wantDestroyGroup = true
 
Status
Not open for further replies.
Top