Unknown
From DarkAI
AI
GET ENTITY ANGLE Y
This command returns the current
Y angle the entity is facing. If the entity is linked to an object
the Y angle of the object is returned. If the entity is not linked to
an object then the internal Y angle that the entity is facing is
returned and you should use this value to rotate your own
representation to the correct angle.
Syntax
return
float = AI Get Entity Angle ( Entity Number
)
Parameters
Entity Number, The id of the
entity for which you want to get the Y angle.
Return
The
Y angle of the entity in degrees.