---
name: "setCamUseTI"
type: command
status: ok
groups: ["Camera Control"]
arma3_since: "0.50"
locality: {"argument": null, "effect": null, "server_exec": false}
source: https://community.bistudio.com/wiki/setCamUseTI
revid: 369156
updated: 2024-09-03T10:34:40Z
---

# setCamUseTI

*Command · Camera Control · Arma 3 v0.50 · introduced in Arma 2: Operation Arrowhead v1.50*

## Description

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

## Syntax

```sqf
state setCamUseTI modeIndex
```

**Parameters:**

- `state`: [Boolean](../topics/Boolean.md) - [true](../commands/true.md) to enable, [false](../commands/false.md) to disable the effect
- `modeIndex`: [Number](../topics/Number.md) - TI mode. Can be:
  - 0 - White Hot
  - 1 - Black Hot
  - 2 - Light Green Hot / Darker Green cold
  - 3 - Black Hot / Darker Green cold
  - 4 - Light Red Hot /Darker Red Cold
  - 5 - Black Hot / Darker Red Cold
  - 6 - White Hot . Darker Red Cold
  - 7 - Thermal (Shade of Red and Green, Bodies are white)

**Returns:** [Nothing](../topics/Nothing.md)

## Examples

### Example 1

```sqf
true setCamUseTI 1;
```

### Example 2

*Predator* vision:

```sqf
_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](../commands/camUseNVG.md) · [disableTIEquipment](../commands/disableTIEquipment.md)

<sub>Source: [BI Community Wiki — setCamUseTI](https://community.bistudio.com/wiki/setCamUseTI) (revision 369156).</sub>
