• 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.
  • The Hive's 22nd Icon Contest: Creep Abilities is now concluded, time to vote for your favourite set of icons! Click here to vote!
  • ✅ The POLL for Hive's Texturing Contest #34 is OPEN! Vote for the TOP 3 SKINS! 🔗Click here to cast your vote!
  • ✅ The POLL for Hive's Techtree Contest #20 is OPEN! Vote for the TOP 3 FACTIONS! 🔗Click here to cast your vote!

Help with a simple trigger

Status
Not open for further replies.

Glyphon

G

Glyphon

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:
 
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.
Back
Top