- Joined
- Feb 2, 2006
- Messages
- 1,630
Hi,
I want my AI scripts to build expansions.
However, the native
always returns null, so nothing is build. Here it states: AI Manual
"This native will return the peon unit that will start a new expansion for the AI player, however, it will return null if there is no gold mine (excluding a gold mine the AI player already own) found on the map."
I have many gold mines in my map but they are a bit further away from the base and only connected via waygates. Is this some issue for the AI?
Does anyone know how to fix this?
I want my AI scripts to build expansions.
However, the native
JASS:
GetExpansionPeon
"This native will return the peon unit that will start a new expansion for the AI player, however, it will return null if there is no gold mine (excluding a gold mine the AI player already own) found on the map."
I have many gold mines in my map but they are a bit further away from the base and only connected via waygates. Is this some issue for the AI?
Does anyone know how to fix this?