EntityDirection()
Syntax
EntityDirection(#Entity, x, y, z [, Mode, LocalDirectionVector])Description
Set the direction for the entity.
Parameters
#Entity The entity to use. x, y, z The direction vector (value between -1.0 and 1.0). Mode (optional) The direction mode. It can be one of the following values: #PB_Local : local move. #PB_Parent: move relative to the parent position. #PB_World : move relative to the world.LocalDirectionVector (optional) The local direction vector. It can be one of the following values: #PB_Vector_X #PB_Vector_Y #PB_Vector_Z #PB_Vector_NegativeX #PB_Vector_NegativeY #PB_Vector_NegativeZ
Return value
None.
See Also
EntityDirectionX(), EntityDirectionY(), EntityDirectionZ()
Supported OS
All