- Joined
- Feb 8, 2013
- Messages
- 1,479
I can't make the AI work. Its a really simple AI too. It only builds structures and upgrades. It crashes as soon as it runs. Part of the problem may be that I have an AoS system running as well. I tried just placing a hero that gets chosen for the comp player rather than training it, but that didn't work either. The problem may not be in this trigger. I have tried it a few different ways, so there is no reason to think that its this specific trigger that is the problem.
So here's an overview of all of the systems. Each team has 2 players. One is a comp, that owns the AoS spawlings. I have a hero selection system which works fine on its own and with my triggered AI. My triggered AI is not bad-ass enough so I want an editor made AI. The user player can build structures and when the structure is complete the AoS system begins spawning the corresponding unit. e.g. Barracks = footman. The editor AI has a simple build order:
-
AI Editor style
-
Events
- Time - Every 2.00 seconds of game time
- Conditions
-
Actions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
- (Player 1 (Red) controller) Equal to User
-
Then - Actions
- Unit - Change ownership of Resurrection Stone 0083 <gen> to Neutral Passive and Change color
- Unit - Change ownership of Guard Tower 0008 <gen> to Player 4 (Purple) and Change color
- AI - Start campaign AI script for Player 2 (Blue): war3mapImported\AoS Wood Elves.ai
- Unit - Order Resurrection Stone 0082 <gen> to train/upgrade to a Warden
-
Else - Actions
- Unit - Change ownership of Resurrection Stone 0082 <gen> to Neutral Passive and Change color
- Unit - Change ownership of Ancient Protector 0092 <gen> to Player 3 (Teal) and Change color
- AI - Start campaign AI script for Player 1 (Red): Lordaeron.ai
- Unit - Order Resurrection Stone 0083 <gen> to train/upgrade to a Adjudicator
-
If - Conditions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
Events