Arma 3 Scripting

Command in Pilot Camera

getPilotCameraPosition

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

Description

Returns model space coordinates of the object airplane or helicopter pilotCamera.

Syntax

getPilotCameraPosition object

Parameters:

Returns: PositionRelative - offset relative to the model centre. Returns [0,0,0] if object has no pilotCamera.

Examples

Example 1

_pilotCamPos = getPilotCameraPosition vehicle player;

See also

hasPilotCamera · getPilotCameraDirection · getPilotCameraRotation · getPilotCameraTarget · setPilotCameraDirection · setPilotCameraRotation · setPilotCameraTarget