Events
Game -Map initialization
Local Variables
Conditions
Actions
Set Player 1's race to Protoss.
Melee -Set melee starting resources for all players
Melee -Create melee starting units for all players
Melee -Start the melee AI for all computer players
Player 1 is a computer player, their Race is Terran in the Lobby.
The code properly spawns protoss starting units.
But the Melee AI does not execute. Player 1 will gather resources but won't build any structures or train any units.
I need to use the Melee AI on a computer player who's race is changed after the Lobby.
Does anyone know a workaround?
Does anyone know how to execute the melee AI for a specific race?
Here's the code for my map.
Player 1 is a computer player, their Race is Terran in the Lobby.
The code properly spawns protoss starting units.
But the Melee AI does not execute. Player 1 will gather resources but won't build any structures or train any units.
I need to use the Melee AI on a computer player who's race is changed after the Lobby.
Does anyone know a workaround?
Does anyone know how to execute the melee AI for a specific race?
Maybe you could just lock the players race in the lobby using map variants.
The players allied to the computer need to vote what race the AI plays as.
I could have the Lobby Host just ask each team what race they want.
But that's so sloppy it makes me want to abandon the project.
I could give each team 3 comps, one of each race, and only use the comp that has the race that gets voted.
But thats 6 slots taken by computers. And I wanted this game to scale up to 4 teams. That's 12 slots for computers.
I wish I had the time to learn editing AI via the .galaxy files.
I bet you could execute a specific race AI with just a couple lines.