HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

How do i get gold by killing units?

11-09-2003, 07:44 PM#1
Babuu
Hi.... i really watched out for every trigger but i didn't fnd the command how to get gold when killing monsters.... ( like the creeps in ladder games)

Another problem is : How do i get wood when killing a unit ?

i hope u can help me...
11-09-2003, 07:51 PM#2
Eriond
Easy. Here's the trigger.

Code:
EVENTS - Unit - A unit Dies

ACTIONS - Player - Add (Point-value of (Dying unit)) to (Owner of (Killing unit)) Current lumber

That should do it. In the editor, you can set the point value.
11-09-2003, 07:58 PM#3
weaaddar
Ung the first question is answered soooo many times.

Action: Player X set flag gives bounty.
Then in unit editor play with the bounty dice to set up the amount you want it drop.
11-09-2003, 08:05 PM#4
Babuu
Hey cool... thx again :D

äh... but i got an additional question.... how can u increase the bounty of a hero when he levels up ?