Difference between revisions of "setCamUseTI"

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "Category:Scripting Commands ArmA2" to "Category:Scripting Commands Arma 2")
m
 
(4 intermediate revisions by 3 users not shown)
Line 5: Line 5:
  
 
|1.51|Game version=
 
|1.51|Game version=
 +
 +
|gr1 = Camera Control |GROUP1=
 
____________________________________________________________________________________________
 
____________________________________________________________________________________________
  
Line 23: Line 25:
 
|p1= Bool: [[Boolean]] - enable/disable the effect|Parameter1=
 
|p1= Bool: [[Boolean]] - enable/disable the effect|Parameter1=
  
|p2= modeIndex: [[Number]] - Ti mode|=  
+
|p2= modeIndex: [[Number]] - Ti mode|Parameter2=
  
 
| [[Nothing]] |RETURNVALUE=
 
| [[Nothing]] |RETURNVALUE=
Line 30: Line 32:
 
|x1= <code>[[true]] [[setCamUseTI]] 1;</code> |Example1=
 
|x1= <code>[[true]] [[setCamUseTI]] 1;</code> |Example1=
  
|x2= "Preditor" vision:<code>_cam = "camera" [[camCreate]] [0,0,0];
+
|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 51: Line 53:
 
[[Category:Scripting Commands Arma 2|{{uc:{{PAGENAME}}}}]]
 
[[Category:Scripting Commands Arma 2|{{uc:{{PAGENAME}}}}]]
 
[[Category:Scripting Commands Arma 3|{{uc:{{PAGENAME}}}}]]
 
[[Category:Scripting Commands Arma 3|{{uc:{{PAGENAME}}}}]]
[[Category:Scripting_Commands_Take_On_Helicopters|{{uc:{{PAGENAME}}}}]]
+
[[Category:Scripting Commands Take On Helicopters|{{uc:{{PAGENAME}}}}]]
 
[[Category:Arma 2: Operation Arrowhead: New Scripting Commands List|{{uc:{{PAGENAME}}}}]]
 
[[Category:Arma 2: Operation Arrowhead: New Scripting Commands List|{{uc:{{PAGENAME}}}}]]
[[Category:Command Group: Camera Control|setCamUseTI]]
 

Latest revision as of 12:18, 26 September 2020

Introduced with Arma 2: Operation Arrowhead version 1.511.51
Hover & click on the images for descriptions

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).

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
Groups:
Camera Control

Notes

i
Only post proven facts here. Report bugs on the Feedback Tracker and discuss on the Arma Discord or on the Forums.

Notes

Bottom Section