Arma 3 Scripting

getPilotCameraPosition

  • Global argument
  • Arma 3 v1.64

Command · Markdown · JSON · 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