setCamUseTI: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "|= Game name" to "|Game name=")
m (Text replacement - "[[Category:ArmA 2 OA: New Scripting Commands List" to "[[Category:Arma 2: Operation Arrowhead: New Scripting Commands List")
(2 intermediate revisions by the same user not shown)
Line 21: Line 21:
| Bool '''setCamUseTI''' modeIndex |SYNTAX=
| Bool '''setCamUseTI''' modeIndex |SYNTAX=


|p1= Bool: [[Boolean]] - enable/disable the effect|=  
|p1= Bool: [[Boolean]] - enable/disable the effect|Parameter1=
 
|p2= modeIndex: [[Number]] - Ti mode|=  
|p2= modeIndex: [[Number]] - Ti mode|=  


Line 27: Line 28:
____________________________________________________________________________________________
____________________________________________________________________________________________


|x1= <code>[[true]] [[setCamUseTI]] 1;</code> |=  
|x1= <code>[[true]] [[setCamUseTI]] 1;</code> |Example1=
 
|x2= "Preditor" vision:<code>_cam = "camera" [[camCreate]] [0,0,0];
|x2= "Preditor" vision:<code>_cam = "camera" [[camCreate]] [0,0,0];
_cam [[camSetTarget]] [[player]];
_cam [[camSetTarget]] [[player]];
Line 50: Line 52:
[[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 OA: New Scripting Commands List|{{uc:{{PAGENAME}}}}]]
[[Category:Arma 2: Operation Arrowhead: New Scripting Commands List|{{uc:{{PAGENAME}}}}]]
[[Category:Command Group: Camera Control|setCamUseTI]]
[[Category:Command Group: Camera Control|setCamUseTI]]

Revision as of 13:25, 19 September 2019

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:
Uncategorised

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:
"Preditor" 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

Bottom Section