How do you make a hero kill another instanly?

Q

Quicksteal14

Guest
Well, I'm making a map where the user hero fights another hero, but the user-hero just hits once and he dies.... like without making everyone for the enemy hero.
 

Pharaoh_

The epic journey will soon begin... Prepare!
Reaction score
136
Code:
Events
 A unit attacks
Conditions
 (Unit-type of (attacking unit)) Equal to YourHero
 (Attacked unit) is a Hero Equal to True
Actions
 Kill (Attacked unit)
 

Demonfaze

8 yrs. Hell, it's been a long time.
Reaction score
72
Pharaoh's method will work, but if you need to access the killing unit in another trigger (ex: using the response "Killing Unit" to the event "a unit dies"), then you should consider using the "Unit - Damage Target" action instead.
 
General chit-chat
Help Users
  • No one is chatting at the moment.

      The Helper Discord

      Staff online

      Members online

      Affiliates

      Hive Workshop NUON Dome World Editor Tutorials

      Network Sponsors

      Apex Steel Pipe - Buys and sells Steel Pipe.
      Top