• 🏆 Texturing Contest #33 is OPEN! Contestants must re-texture a SD unit model found in-game (Warcraft 3 Classic), recreating the unit into a peaceful NPC version. 🔗Click here to enter!
  • It's time for the first HD Modeling Contest of 2024. Join the theme discussion for Hive's HD Modeling Contest #6! Click here to post your idea!

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