• 🏆 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!
  • 🏆 Hive's 6th HD Modeling Contest: Mechanical is now open! Design and model a mechanical creature, mechanized animal, a futuristic robotic being, or anything else your imagination can tinker with! 📅 Submissions close on June 30, 2024. Don't miss this opportunity to let your creativity shine! Enter now and show us your mechanical masterpiece! 🔗 Click here to enter!

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