Unknown

From DarkAI

AI ENTITY LOOK AROUND

This command will make the entity choose a random direction to turn, between the two angles you specify. Angles are relative to the entity's current angle so an angle of 180 will turn the entity 180 degrees from it's current direction. The entity will choose randomly whether to turn left or right in this direction.

This command can be useful for making the entity check its current location for targets that maybe behind it or out of it's current view arc. If the entity is already turning this command has no effect. Use AI Entity Look At Position to specify an exact point to look at.

Angles should be in the range 0-180, if min and max angles are the same the entity will turn exactly that amount either left or right.


This is a manual mode command (see AI Set Entity Control)

Syntax
AI Entity Look Around Entity Number, Min Angle#, Max Angle#

Parameters
Entity Number, The id of the entity you want to hold position.
Min Angle#, The minimum angle the entity will turn.
Max Angle#, The maximum angle the entity will turn.


Return
n/a