- Joined
- May 21, 2009
- Messages
- 289
This trigger is supposed to upgrade the building if the player <ai> has enough gold. However, no matter how I try to re-arrange or use different code the building does not upgrade. The purpose here is to be able to keep adding in additional upgrades for the buildings with only a change in the type of building to be upgraded to.
-
AI init
-
Events
- Map initialization
-
Conditions
- (Player 4 (Purple) slot status) Equal to Is unused
-
Actions
- Trigger - Turn on AI spawn upgrade <gen>
-
Events
-
AI spawn upgrade
-
Events
- Time - Every 1.00 seconds of game time
- Conditions
-
Actions
- Unit - Order (Random unit from (Units in (Entire map) owned by Player 4 (Purple))) to train/upgrade to a Peasant Farm
- Unit - Order (Random unit from (Units in (Entire map) owned by Player 4 (Purple))) to train/upgrade to a Barracks
-
Events