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

Kill Command

Status
Not open for further replies.
Level 2
Joined
Oct 15, 2013
Messages
13
I'm looking to set up a kill command to help keep down the number of units in a project I have been working on and off on for some time now. Has anyone done this before and can explain how this might be done?
 
Level 42
Joined
Feb 27, 2007
Messages
5,308
You have many options! What kind of functionality would you like your kill command to have?

Easy mode: 99999 damage thunderclap with targets set to "self, vulnerable, invulnerable"
Moderate mode: 0 damage thunderclap with a trigger on cast that uses the "Unit - Kill" or "Unit - Remove" command
Hard mode: Trigger that watches player chat for something like "-removeunits" and kills/removes all units currently selected by the player
WTF mode: Trigger that catches when units are ordered to move into a particular corner of the map, and instantly kills/removes them when they're ordered there

It's possible to remove some of the basic command card buttons so you could, for example, replace "patrol" with a "kill this unit" ability
 
Status
Not open for further replies.
Top