setCamUseTI: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - " <dl class="command_description"> </dl>" to "") |
(formatting) |
||
Line 1: | Line 1: | ||
{{RV|type=command | {{RV|type=command | ||
| arma2oa | |game1= arma2oa | ||
|1.51 | |version1= 1.51 | ||
|game2= tkoh | |||
|version2= 1.00 | |||
|game3= arma3 | |||
|version3= 0.50 | |||
|gr1 = Camera Control | |gr1 = Camera Control | ||
| | |descr= 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). | ||
|p1= Mode index defines what sort of thermal vision it is:<br> | |||
* 0 - White Hot | * 0 - White Hot | ||
* 1 - Black Hot | * 1 - Black Hot | ||
Line 18: | Line 28: | ||
This command only works with [[camCreate]] created camera that is currently the main camera for the player (see example). | This command only works with [[camCreate]] created camera that is currently the main camera for the player (see example). | ||
| | |s1= state '''setCamUseTI''' modeIndex | ||
|p1= | |p1= state: [[Boolean]] - [[true|True]] to enable, [[false]] to disable the effect | ||
|p2= modeIndex: [[Number]] - | |p2= modeIndex: [[Number]] - 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) | |||
| [[Nothing]] | |r1= [[Nothing]] | ||
|x1= <code>[[true]] [[setCamUseTI]] 1;</code> | |x1= <code>[[true]] [[setCamUseTI]] 1;</code> | ||
|x2= | |x2= ''Predator'' vision:<code>_cam = "camera" [[camCreate]] [0,0,0]; | ||
_cam [[camSetTarget]] [[player]]; | _cam [[camSetTarget]] [[player]]; | ||
_cam [[camSetRelPos]] [0,1,1.5]; | _cam [[camSetRelPos]] [0,1,1.5]; | ||
Line 35: | Line 53: | ||
[[true]] [[setCamUseTI]] 7;</code> | [[true]] [[setCamUseTI]] 7;</code> | ||
|seealso= [[camUseNVG]] | |seealso= [[camUseNVG]] [[disableTIEquipment]] | ||
}} | }} | ||
Revision as of 10:23, 28 March 2021
Description
- 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).
- Groups:
- Camera Control
Syntax
- Syntax:
- state setCamUseTI modeIndex
- Parameters:
- state: Boolean - True to enable, false to disable the effect
- modeIndex: Number - 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)
- Return Value:
- 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;
Additional Information
- See also:
- camUseNVG disableTIEquipment
Notes
-
Report bugs on the Feedback Tracker and/or discuss them on the Arma Discord or on the Forums.
Only post proven facts here! Add Note