AiParams.allowMovements 139
When enabled, AI will perform move commands. if you don't want the AI never to move, not even with moveTo commands, disable this feature
Return value
| Return Type | Description |
|---|---|
| void | This function doesn't return anything |
Parameters
| Parameter | Type | Description |
|---|---|---|
| 1 | bool | Set the AI functionality enabled |
Examples
Example 87
myself().getAiParams().allowMovements(false) -- prevents AI from moving (include by using the .moveTo function)