llGetCameraRot
LSLrotation llGetCameraRot()
Returns the current camera orientation for the agent the task has permissions for. If no user has granted the PERMISSION_TRACK_CAMERA permission, returns ZERO_ROTATION.
Takes no parameters.
Energy
10
The Linden Scripting Library — what every SL-compatible grid provides.