| AddUnitToScriptedOperation |
AiMilitary:AddUnitToScriptedOperation(operationId: integer[IDType], unitId: integer[IDType]) (or nothing) args: unitId — An id. |
gameplay |
yes ↗ |
0x6c5910 |
0x6c5fe0 |
| AllowUnitConstruction |
AiMilitary:AllowUnitConstruction(allow: boolean) (or nothing) |
gameplay |
yes ↗ |
0x6c5970 |
0x6c6040 |
| CanConstructUnits |
AiMilitary:CanConstructUnits() → boolean |
gameplay |
yes ↗ |
0x6c59d0 |
0x6c60a0 |
| HasOperationAgainst |
AiMilitary:HasOperationAgainst(player?: integer[PlayerTypes], mustBeReady?: boolean, unitRange?: integer, position?: any) → boolean args: player — Id of a player (as in Players[id]). |
gameplay |
yes ↗ |
0x6c5a20 |
— |
| PrepareForWarWith |
AiMilitary:PrepareForWarWith(player: integer[PlayerTypes], prepare: boolean) (or nothing) args: player — Id of a player (as in Players[id]). |
gameplay |
yes ↗ |
0x6c5a30 |
0x6c6100 |
| ScriptForceUpdateTargets |
AiMilitary:ScriptForceUpdateTargets() (or nothing) |
gameplay |
yes ↗ |
0x6c5a90 |
0x6c6160 |
| SetRival |
AiMilitary:SetRival(rival: integer[PlayerTypes]) (or nothing) args: rival — Id of a player (as in Players[id]). |
gameplay |
yes ↗ |
0x6c5ab0 |
0x6c6180 |
| SetScriptedOperationReady |
AiMilitary:SetScriptedOperationReady(operationId: integer[IDType]) (or nothing) |
gameplay |
yes ↗ |
0x6c5b00 |
0x6c61d0 |
| SetScriptedTargetAndRally |
AiMilitary:SetScriptedTargetAndRally(operationId: integer[IDType], targetPlotIndex: integer, rallyPlotIndex: integer) (or nothing) |
gameplay |
yes ↗ |
0x6c5b50 |
0x6c6220 |
| StartScriptedOperation |
AiMilitary:StartScriptedOperation(operationName: string[const char], enemy: integer[PlayerTypes]) → number (IDType) args: enemy — Id of a player (as in Players[id]). |
gameplay |
yes ↗ |
0x6c5bd0 |
0x6c62a0 |
| StartScriptedOperationWithTargetAndRally ★ |
AiMilitary:StartScriptedOperationWithTargetAndRally(operationName?: string, enemy?: integer[PlayerTypes], targetPlotIndex?: integer, rallyPlotIndex?: integer) → unsigned_int args: operationName — A string.; enemy — Id of a player (as in Players[id]). |
gameplay |
yes ↗ |
0x6c5c50 |
— |