Unknown

From DarkAI

AI SET ENTITY ACTIVE

This command sets whether the entity is updated when the AI Update command is called. When the entity is deactivated the AI system will not move the entity, in neither manual nor automatic mode, but you can still move the object in DarkBasic and the AI system will use the new position when re-activated. The default mode is 1.

Syntax
AI Set Entity Active Entity Number, Mode

Parameters
Entity Number, The id of the entity you want to set the active mode.
Mode, 0 to deactivate the entity, 1 for normal behaviour.

Return
n/a