• 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.
  • Create a faction for Warcraft 3 and enter Hive's 19th Techtree Contest: Co-Op Commanders! Click here to enter!
  • Get your art tools and paintbrushes ready and enter Hive's 34th Texturing Contest: Void! Click here to enter!

[Solved] Need Help use command to kill unit

Status
Not open for further replies.
Level 5
Joined
May 8, 2020
Messages
87
I want to use a command : -die
to kill my hero without knowing how
sorry , i need an easy command
 

Attachments

  • c44.png
    c44.png
    24.1 KB · Views: 25

Antares

Spell Reviewer
Level 33
Joined
Dec 13, 2009
Messages
1,019
This should work without setting up anything else (assuming you only have one hero).

  • Events
    • Player - Player 1 (Red) types a chat message containing -die as An exact match
  • Conditions
  • Actions
    • Unit - Kill (Random unit from (Units owned by Player 1 (Red) matching (((Matching unit) is A Hero) Equal to True).))
 
Status
Not open for further replies.
Top