GetObjectRotation

From NPC for VCMP 0.4 Servers
Jump to navigation Jump to search

This function was added in v1.7 beta and will not work in previous versions.


Description:
Gets the rotation of an object


Parameters:

(objectid)

objectid : The ID of the object whose rotation is to be calculated.


Return Values:
The rotation of the object as quaternion. Throws error if object with specified ID does not exist.



Related Functions

The following functions may be helpful as they relate to this function in one way or another.