• 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!

about gold bountry and gold given

Status
Not open for further replies.

knight_nowe

K

knight_nowe

i have a few question to ask.
Question :
1. how to set get gold after a unit is die just like dota.
2. how to set player are given gold when a unit is on the field.eg.when priest is on the field add 3 gold per second.
3. how to set buiding would given gold for every second?eg.when farm is on the field add 5 gold per second.

Please teach me plz.I really need help.
 
1) just turn bounties on with one trigger function
2) events: every 1 sec of the game
conditions: -------
actions: if: *field rect* contains *the priesst* (boolean - unit in rect)
then: add 3 gold for player X (add property)
3) just like number 2

remember that when he units or farms die, u must turn the triggers off
 
Status
Not open for further replies.
Back
Top