setCamUseTI: Difference between revisions
Jump to navigation
Jump to search
m (setCamUseTi) |
Killzone Kid (talk | contribs) (note moved to description, example, see also) |
||
Line 7: | Line 7: | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
| | | 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 Col | |||
* 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 | |||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
| Bool '''setCamUseTi''' | | Bool '''setCamUseTi''' modeIndex |= Syntax | ||
|p1= Bool: [[Boolean]] |= | |p1= Bool: [[Boolean]] - enable/disable the effect|= | ||
|p2= | |p2= modeIndex: [[Number]] - Ti mode|= | ||
| [[Nothing]] |= Return value | | [[Nothing]] |= Return value | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
|x1= <code>true | |x1= <code>[[true]] [[setCamUseTi]] 1;</code> |= | ||
|x2= "Preditor" 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]] |= See also | ||
}} | }} | ||
Line 27: | Line 42: | ||
<h3 style="display:none">Notes</h3> | <h3 style="display:none">Notes</h3> | ||
<dl class="command_description"> | <dl class="command_description"> | ||
</dl> | </dl> | ||
Revision as of 13:37, 30 October 2014
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 Col
- 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:
- "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
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 ArmA2
- Scripting Commands Arma 3
- Scripting Commands Take On Helicopters
- ArmA 2 OA: New Scripting Commands List
- Command Group: Camera Control