setCamUseTI: Difference between revisions
Jump to navigation
Jump to search
m (Text replace - "{{uc:{{PAGENAME}}}}" to "{{uc:{{PAGENAME}}}} {{uc:{{PAGENAME}}}}") |
Lou Montana (talk | contribs) m (Text replacement - " {2,}\}\}" to " }}") |
||
(29 intermediate revisions by 8 users not shown) | |||
Line 1: | Line 1: | ||
{{Command | {{Command | ||
| arma2oa | | arma2oa | ||
|1.51 | |1.51 | ||
| | |gr1 = Camera Control | ||
| | | Activates thermal vision. Mode index defines what sort of thermal vision it is:<br> | ||
* 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) <br> | |||
This command only works with [[camCreate]] created camera that is currently the main camera for the player (see example). | |||
| | | Bool '''setCamUseTI''' modeIndex | ||
| [[ | |p1= Bool: [[Boolean]] - enable/disable the effect | ||
| | |p2= modeIndex: [[Number]] - Ti mode | ||
| | | [[Nothing]] | ||
|x1= <code>[[true]] [[setCamUseTI]] 1;</code> | |||
|x2= "Predator" vision:<code>_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;</code> | |||
| [[camUseNVG]], [[disableTIEquipment]] | |||
}} | }} | ||
<dl class="command_description"> | <dl class="command_description"> | ||
</dl> | </dl> | ||
[[Category:Scripting Commands|{{uc:{{PAGENAME}}}}]] | [[Category:Scripting Commands|{{uc:{{PAGENAME}}}}]] | ||
{{GameCategory|arma2|Scripting Commands}} | |||
{{GameCategory|arma3|Scripting Commands}} | |||
[[Category: | {{GameCategory|tkoh|Scripting Commands}} | ||
[[Category:Arma 2: Operation Arrowhead: New Scripting Commands List|{{uc:{{PAGENAME}}}}]] |
Revision as of 00:41, 19 January 2021
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:
- 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
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: Camera Control
- Arma 2: Scripting Commands
- Arma 3: Scripting Commands
- Take On Helicopters: Scripting Commands
- Arma 2: Operation Arrowhead: New Scripting Commands List