Unknown

From DarkAI

AI ENTITY CAN SELECT TARGETS

This command will set whether an entity can select targets based on its team and the target of the possible target. If the entities are on opposing teams (friendly/enemy) then they will automatically add each other as targets when they see each other. This is the default behaviour.

If the mode is set to 0 then the entity will not be allowed to select any targets based on teams and will only receive targets from the AI Entity Add Target command.


Syntax
AI Set Entity Can Select Targets Entity Number, mode

Parameters
Entity Number, The id of the entity for which you want to change the target selection mode.
Mode, 1 to allow the entity to select targets (default), 0 to prevent selection of targets.

Return
n/a