Unknown

From DarkAI

AI SET ENTITY VIEW ARC

This command will set the angles at which an entity can see its surroundings. The angles should be specified in degrees in the range 1-360 with 360 meaning the entity can see all around it, and 1 meaning the entity can only see the exact direction it is facing. The default value is 360 degrees.

The inner and outer angles allow you to divide up the view into two sections. Although only the outer angle matters during automatic mode, the AI Get Entity Can See command will return a different value depending on what angle contains the view point.

This command should be used with AI Set Entity View Range to completely define the area an entity can see.

Syntax
AI Set Entity View Arc Entity Number, Inner Angle#, Outer Angle#

Parameters
Entity Number, The id of the entity to set the view angles.
Inner Angle#, The inner angle that the entity can see, in degrees.
Outer Angle#, The outer angle that the entity can see, in degrees.

Return
n/a