Warcraft III resources & community, 2003–2006 · archived

about gold bountry and gold given

2 posts
#1

about gold bountry and gold given

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.
#2
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