Arma 3 Scripting

camPrepareTarget

  • Arma 3 v0.50
  • First in Armed Assault v1.00

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