setCamUseTI: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "<h3 style="display:none">Bottom Section</h3> " to "")
m (Text replacement - " *\| *([Cc]omments|COMMENTS|Game|[Gg]ame [Nn]ame( +[0-9])?|Game [Vv]ersion( +[0-9])?|Game Version \(number surrounded by NO SPACES\)|Arguments in MP|MP[Aa]rg|Multiplayer Arguments( \("local" or "global"\))?|Effects|Execution|Effects...)
Line 1: Line 1:
{{Command|Comments=
{{Command


| arma2oa |Game name=
| arma2oa


|1.51|Game version=
|1.51


|gr1 = Camera Control |GROUP1=
|gr1 = Camera Control


| Activates thermal vision. Mode index defines what sort of thermal vision it is:<br>
| Activates thermal vision. Mode index defines what sort of thermal vision it is:<br>
Line 16: Line 16:
* 6 - White Hot . Darker Red Cold
* 6 - White Hot . Darker Red Cold
* 7 - Thermal (Shade of Red and Green, Bodies are white) <br>
* 7 - Thermal (Shade of Red and Green, Bodies are white) <br>
This command only works with [[camCreate]] created camera that is currently the main camera for the player (see example).|DESCRIPTION=
This command only works with [[camCreate]] created camera that is currently the main camera for the player (see example).


| Bool '''setCamUseTI''' modeIndex |SYNTAX=
| Bool '''setCamUseTI''' modeIndex


|p1= Bool: [[Boolean]] - enable/disable the effect|Parameter1=
|p1= Bool: [[Boolean]] - enable/disable the effect


|p2= modeIndex: [[Number]] - Ti mode|Parameter2=
|p2= modeIndex: [[Number]] - Ti mode


| [[Nothing]] |RETURNVALUE=
| [[Nothing]]


|x1= <code>[[true]] [[setCamUseTI]] 1;</code> |Example1=
|x1= <code>[[true]] [[setCamUseTI]] 1;</code>


|x2= "Predator" vision:<code>_cam = "camera" [[camCreate]] [0,0,0];
|x2= "Predator" vision:<code>_cam = "camera" [[camCreate]] [0,0,0];
Line 35: Line 35:
[[true]] [[setCamUseTI]] 7;</code>
[[true]] [[setCamUseTI]] 7;</code>


| [[camUseNVG]], [[disableTIEquipment]] |SEEALSO=
| [[camUseNVG]], [[disableTIEquipment]]


}}
}}

Revision as of 11:08, 18 January 2021

Hover & click on the images for description

Description

Description:
Activates thermal vision. Mode index defines what sort of thermal vision it is:
  • 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)
This command only works with camCreate created camera that is currently the main camera for the player (see example).
Groups:
Camera Control

Syntax

Syntax:
Bool setCamUseTI modeIndex
Parameters:
Bool: Boolean - enable/disable the effect
modeIndex: Number - Ti mode
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:
camUseNVGdisableTIEquipment

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

Notes