setPilotCameraTarget

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 an area or target to be tracked by the object airplane or helicopter pilotCamera. To track an object the vehicle has to have appropriate sensors (scanners) that can detect the given target type. Using objNull will unlock the camera

Syntax

Syntax:
bool = object setPilotCameraTarget target
Parameters:
object: Object
target: Object or Array - format PositionASL
Return Value:
Bool

Examples

Example 1:
_pilotCamTrack = vehicle player setPilotCameraTarget [2100,4200,4.2];
Example 2:
_pilotCamTrack = vehicle player setPilotCameraTarget BIS_Edita;

Additional Information

Multiplayer:
-
See also:
hasPilotCameragetPilotCameraPositiongetPilotCameraDirectiongetPilotCameraRotationgetPilotCameraTargetsetPilotCameraDirectionsetPilotCameraRotation

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