GetExpansionX
- comment
Returns the integer X coordinate of the AI player expansion location whether it is constructed or not.
- note
Important: in order to use this native,
CreateCaptains
must be called first or the game will crash. It is already called in the functionCampaignAI
found incommon.ai
.- patch
1.00
- Source
- common.ai
- return type
integer
- Source code
native GetExpansionX takes nothing returns integer