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

[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
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