setPilotCameraRotation

From Bohemia Interactive Community
Jump to: navigation, search
Introduced with Arma 3 version 1.64
  Arguments of this scripting command have to be local to the client the command is executed on

Click on the images for descriptions

Introduced in

Game:
Arma 3
Version:
1.64

Description

Description:
Sets rotation (relative to the centered camera position) of the object airplane or helicopter pilotCamera .

Syntax

Syntax:
object setPilotCameraRotation rotation
Parameters:
object: Object
rotation: Array - [x,y] - format [yaw (turn), pitch (elevation)]. Values are in radians, positive values are left yaw and down pitch from the center.
Return Value:
Nothing

Examples

Example 1:
vehicle player setPilotCameraRotation [ rad 90, rad 45 ]

Additional Information

Multiplayer:
-
See also:
hasPilotCameragetPilotCameraPositiongetPilotCameraDirectiongetPilotCameraRotationgetPilotCameraTargetsetPilotCameraDirectionsetPilotCameraTarget

Notes

Only post proven facts here. Report bugs on the feedback tracker. Use the talk page or the forums for discussions.
Add New Note | How To

Notes

Bottom Section