setPilotCameraDirection

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 the direction of object airplane or helicopter pilotCamera (vector in model space).

Syntax

Syntax:
object setPilotCameraDirection Vector3D
Parameters:
object: Object
Vector3D: Array - [x,y,z] - format Vector3D relative to the model centre (In a similar fashion to PositionRelative)
Return Value:
Nothing

Examples

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

Additional Information

Multiplayer:
-
See also:
hasPilotCameragetPilotCameraPositiongetPilotCameraDirectiongetPilotCameraRotationgetPilotCameraTargetsetPilotCameraRotationsetPilotCameraTarget

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