Arma 3 Scripting

Command in Pilot Camera

setPilotCameraDirection

Also available as Markdown and JSON, or read the original wiki page.

Description

Sets the direction of airplane's or helicopter's pilotCamera.

Syntax

object setPilotCameraDirection vector3D

Parameters:

Returns: Nothing

Examples

Example 1

vehicle player setPilotCameraDirection [0,1,0] // re-centers the camera

See also

hasPilotCamera · getPilotCameraPosition · getPilotCameraDirection · getPilotCameraRotation · getPilotCameraTarget · setPilotCameraRotation · setPilotCameraTarget