• 🏆 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!
  • It's time for the first HD Modeling Contest of 2024. Join the theme discussion for Hive's HD Modeling Contest #6! Click here to post your idea!

[Solved] Need Help use command to kill unit

Status
Not open for further replies.
Level 5
Joined
May 8, 2020
Messages
78
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: 22
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