need help with trigger

Cdo

New Member
Reaction score
5
i'm having a problem, i finished a game but i took a look back and want to make it a little more fun so does anyone know how i can get it so when your hero dies you gain gold and wood?
 

WolfieeifloW

WEHZ Helper
Reaction score
372
Code:
Events
    Unit - A unit Dies
Conditions
    ((Triggering unit) is A Hero) Equal to (==) True
Actions
    Player - Add 100 to (Owner of (Triggering unit)) Current gold
    Player - Add 100 to (Owner of (Triggering unit)) Current lumber
Also, please read this.

EDIT: <3 kingbdogz :p .
 

kingbdogz

The Edge of Eternity is upon us.
Reaction score
123
Trigger:
  • Untitled Trigger 001
    • Events
      • Unit - A unit Dies
    • Conditions
      • ((Triggering unit) is A Hero) Equal to True
    • Actions
      • Player - Add 100 to (Owner of (Triggering unit)) Current gold
      • Player - Add 100 to (Owner of (Triggering unit)) Current lumber


EDIT: Damn got beat to it.
 
General chit-chat
Help Users
  • No one is chatting at the moment.

      The Helper Discord

      Members online

      No members online now.

      Affiliates

      Hive Workshop NUON Dome World Editor Tutorials

      Network Sponsors

      Apex Steel Pipe - Buys and sells Steel Pipe.
      Top