Unknown

From DarkAI

AI SET ENTITY CONTROL

Use this command to set an entity into automatic or manual control. The default is automatic mode.

In automatic mode an entity will move and respond to its surroundings, such as spotting an enemy and moving towards it, and you can use commands denoted as automatic mode commands to control entity behaviour. You can use manual mode commands, such as AI Entity Look At Position, but their effects can quickly be overridden by the entity so are not guaranteed to work.

In manual mode an entity will make no movements or actions by itself and you must use the commands denoted as
manual mode commands to move the entity around. Automatic mode commands, such as AI Entity Defend Area, have no effect when an entity is in manual mode, except to modify the entity parameters that may take effect when the entity is next put into automatic mode.

Syntax
AI Set Entity Control Entity Number, Mode

Parameters
Entity Number, The id of the entity to set the control mode.
Mode, Use 1 to set automatic control, 0 to set manual control.

Return
n/a