setCamUseTI: Difference between revisions
Jump to navigation
Jump to search
Killzone Kid (talk | contribs) No edit summary |
m (Typo) |
||
(10 intermediate revisions by 3 users not shown) | |||
Line 1: | Line 1: | ||
{{Command|= | {{Command|Comments= | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
| arma2oa | | | arma2oa |Game name= | ||
|1.51| | |1.51|Game version= | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
Line 14: | Line 14: | ||
* 4 - Light Red Hot /Darker Red Cold | * 4 - Light Red Hot /Darker Red Cold | ||
* 5 - Black Hot / Darker Red Cold | * 5 - Black Hot / Darker Red Cold | ||
* 6 - White Hot . Darker Red | * 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).|= | This command only works with [[camCreate]] created camera that is currently the main camera for the player (see example).|DESCRIPTION= | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
| Bool '''setCamUseTI''' modeIndex |= | | Bool '''setCamUseTI''' modeIndex |SYNTAX= | ||
|p1= Bool: [[Boolean]] - enable/disable the effect|Parameter1= | |||
|p2= modeIndex: [[Number]] - Ti mode|= | |p2= modeIndex: [[Number]] - Ti mode|= | ||
| [[Nothing]] |= | | [[Nothing]] |RETURNVALUE= | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
|x1= <code>[[true]] [[setCamUseTI]] 1;</code> |= | |x1= <code>[[true]] [[setCamUseTI]] 1;</code> |Example1= | ||
|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 36: | Line 38: | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
| [[camUseNVG]], [[disableTIEquipment]] |= | | [[camUseNVG]], [[disableTIEquipment]] |SEEALSO= | ||
}} | }} | ||
Line 47: | Line 49: | ||
[[Category:Scripting Commands|{{uc:{{PAGENAME}}}}]] | [[Category:Scripting Commands|{{uc:{{PAGENAME}}}}]] | ||
[[Category:Scripting Commands | [[Category:Scripting Commands Arma 2|{{uc:{{PAGENAME}}}}]] | ||
[[Category:Scripting Commands Arma 3|{{uc:{{PAGENAME}}}}]] | [[Category:Scripting Commands Arma 3|{{uc:{{PAGENAME}}}}]] | ||
[[Category: | [[Category:Scripting Commands Take On Helicopters|{{uc:{{PAGENAME}}}}]] | ||
[[Category: | [[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 22:07, 15 July 2020
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)
- 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:
- "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
Bottom Section
Categories:
- Scripting Commands
- Introduced with Arma 2: Operation Arrowhead version 1.51
- Arma 2: Operation Arrowhead: New Scripting Commands
- Arma 2: Operation Arrowhead: Scripting Commands
- Command Group: Uncategorised
- Scripting Commands Arma 2
- Scripting Commands Arma 3
- Scripting Commands Take On Helicopters
- Arma 2: Operation Arrowhead: New Scripting Commands List
- Command Group: Camera Control