[Trigger] want trigger code ((hero kill))

Status
Not open for further replies.
this is a way of doing it but you have to change the point values of the units to the number of gold, there may be another way to do it but dont remember off hand.

  • Untitled Trigger 001
    • Events
      • Unit - A unit Dies
    • Conditions
      • ((Triggering unit) is A Hero) Equal to True
    • Actions
      • Player - Add (Point-value of (Triggering unit)) to (Owner of (Triggering unit)) Current gold
 
thanks for help but ur trigger has bug!!
1-it add gold to dead hero not killing hero.

i cr8 this 1:

  • hero kill
    • Events
      • Unit - A unit Dies
    • Conditions
      • ((Dying unit) is A Hero) Equal to True
    • Actions
      • Player - Add 400 to (Owner of (Killing unit)) Current gold
 
Status
Not open for further replies.
Back
Top