- Joined
- Jul 9, 2004
- Messages
- 405
Im still working on my farmer and hunter-type map and remember how each sheep gives u 2 gold every 60 seconds? well this is what i tried to do the same thing:
Event: every 30 seconds of game
Action:
1. pick every unit in (sheepfarmgroup) and do create 1 sheep at position of picked unit
2. Add last created unit to (sheeps)
then this was the one that gave u the money:
Event: every 60 seconds of the game
Actions: pick every unit in (sheeps) and do player add (number of units in sheeps) to (owner of picked unit's) current gold
i would figure that to add 1 gold right? NO! it adds 12 for some reason maybe i went wrong somewhere?
Event: every 30 seconds of game
Action:
1. pick every unit in (sheepfarmgroup) and do create 1 sheep at position of picked unit
2. Add last created unit to (sheeps)
then this was the one that gave u the money:
Event: every 60 seconds of the game
Actions: pick every unit in (sheeps) and do player add (number of units in sheeps) to (owner of picked unit's) current gold
i would figure that to add 1 gold right? NO! it adds 12 for some reason maybe i went wrong somewhere?