If I create a unit for a AI player with the Player:InitUnit function and use UNITAI_UNKNOWN as the UnitAIType is the AI smart enough to then change the unit's UnitAIType to a better value or does that unit's UnitAIType end up remaining the same for the rest of it's existence?
Even if the AI knows how to change the UnitAIType is it better to set the value manually? Such as UNITAI_SETTLE for settlers, UNITAI_EXPLORE for scouts, etc...
Basically I'm looking for some insight on the best way to handle the UnitAIType variable that's passed to InitUnit.
If it makes any difference - My current plans only include units that will be created before the first turn starts.
Even if the AI knows how to change the UnitAIType is it better to set the value manually? Such as UNITAI_SETTLE for settlers, UNITAI_EXPLORE for scouts, etc...
Basically I'm looking for some insight on the best way to handle the UnitAIType variable that's passed to InitUnit.
If it makes any difference - My current plans only include units that will be created before the first turn starts.