AiParams.followCustomSquadOrders 70
Normally squad soldiers will automatically give the orders that they cosndier the best according to the situation. This function disables various AI behaviors in order to prepare the soldier to only follow and give custom squad orders via code, such as squad.moveTo()
Return value
Return Type | Description |
---|---|
void | this function doesn't return anything |
No parameters defined for this function.
Examples
Example 126
-- make sure that soldier AI is set to follow squad orders, but not to give them!
myself().getAiParams().followCustomSquadOrders()