AiParams.followCustomSquadOrders 0
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
myself().getAiParams().followCustomSquadOrders()