Arma 3 Scripting

Command in Camera Control

camPrepareTarget

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

Description

Prepares the camera target to a position or to a target. Needs the call of camCommitPrepared to be conducted.

Syntax

Syntax 1

camera camPrepareTarget position

Parameters:

Returns: Nothing

Syntax 2

camera camPrepareTarget target

Parameters:

Returns: Nothing

Examples

Example 1

_camera camPrepareTarget getPos player;

Example 2

_camera camPrepareTarget player;

See also

camPreload · camCommitPrepared · camSetTarget