• 🏆 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!
  • 🏆 Hive's 6th HD Modeling Contest: Mechanical is now open! Design and model a mechanical creature, mechanized animal, a futuristic robotic being, or anything else your imagination can tinker with! 📅 Submissions close on June 30, 2024. Don't miss this opportunity to let your creativity shine! Enter now and show us your mechanical masterpiece! 🔗 Click here to enter!

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 39
Joined
Feb 27, 2007
Messages
5,036
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