EntityYaw()
Syntax
Result = EntityYaw(#Entity)Description
Get the yaw of the #Entity.
Parameters
#Entity The entity to use. Mode (optional) The mode to get the yaw. It can be one of the following value: #PB_Absolute: get the absolute yaw value, ignoring the current yaw of the parent (default). #PB_Relative: get the yaw value relative to the current yaw of the parent.combined with one of the following value:#PB_Engine3D_Raw : the yaw is the raw value, but it can't be used in RotateEntity() to get back the same orientation (default). #PB_Engine3D_Adjusted: the yaw is adjusted, so it can be put back in RotateEntity() to get back the same orientation.
Return value
The current yaw value of the specified entity. This value is always between -180.0 and 180.0 degrees.
See Also
EntityPitch(), EntityRoll()
Supported OS
All