Nathan0093
New Member
- Reaction score
- 4
Hi all. Im having problem with making the peasant automatically starts gathering gold from a gold mine right after he built the mine. For your information, the gold mine ability has to be triggered since I do not want the mines to show up on the mini map during the game. It should be simple, but for some reason this wont work. Help?
Code:
Gold Mine Ability
Events
Unit - A unit Finishes construction
Conditions
(Unit-type of (Constructed structure)) Equal to (==) Farm (Gold Mine)
Actions
Unit - Add Farm Gold Mine to (Constructed structure)
Wait 1.00 game-time seconds
Unit - Order (Triggering unit) to Harvest (Constructed structure)