• Listen to a special audio message from Bill Roper to the Hive Workshop community (Bill is a former Vice President of Blizzard Entertainment, Producer, Designer, Musician, Voice Actor) 🔗Click here to hear his message!
  • Read Evilhog's interview with Gregory Alper, the original composer of the music for WarCraft: Orcs & Humans 🔗Click here to read the full interview.

Help with a simple trigger

Status
Not open for further replies.
Level 2
Joined
Dec 19, 2004
Messages
7
im making a defence game for RoC.

i need a trigger that gives +2 gold every time you make a kill, what event should i use? or what will this trigger look like, i cant find an event :oops:
 
Level 8
Joined
Apr 3, 2004
Messages
507
The best way might be to use a trigger to turn on bounty for each player, using the "Player Flag" action, during Map init. Then change each unit to give whatever amount of bounty you want it to give.

Alternatively, you could make an easy trigger that detects when a unit dies and gives +2 gold to the owner of the killing unit, unless that owner is also the owner of the dying unit. It'd be small and simple, but it wouldn't show the bounty art above the dying unit's head.
 
Status
Not open for further replies.
Top