Arma 3 Scripting

setCamUseTI

  • Arma 3 v0.50
  • First in Arma 2: Operation Arrowhead v1.50

Command · Markdown · JSON · original wiki page

Description

Sets thermal vision mode for currently used camera. This command only works with camCreate created camera that is currently the main camera for the player (see Example 2).

Syntax

state setCamUseTI modeIndex

Parameters:

Returns: Nothing

Examples

Example 1

true setCamUseTI 1;

Example 2

Predator vision:

_cam = "camera" camCreate [0, 0, 0];
_cam camSetTarget player;
_cam camSetRelPos [0, 1, 1.5];
_cam cameraEffect ["Internal", "Back"];
_cam camCommit 0;
true setCamUseTI 7;

See also

camUseNVG · disableTIEquipment