getPilotCameraPosition

From Bohemia Interactive Community
Jump to: navigation, search
Introduced with Arma 3 version 1.64
  Arguments of this scripting command don't 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:
Returns model space coordinates of the object airplane or helicopter pilotCamera .

Syntax

Syntax:
getPilotCameraPosition object
Parameters:
object: Object
Return Value:
Array - [x,y,z] offset relative to the model centre, format PositionRelative. Returns [0,0,0] if object has no pilotCamera.

Examples

Example 1:
_pilotCamPos = getPilotCameraPosition vehicle player

Additional Information

Multiplayer:
-
See also:
hasPilotCameragetPilotCameraDirectiongetPilotCameraRotationgetPilotCameraTargetsetPilotCameraDirectionsetPilotCameraRotationsetPilotCameraTarget

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