setCamUseTI: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - "<code>([^<]*)\[\[([a-zA-Z][a-zA-Z0-9_]+)\]\]([^<]*) *<\/code>" to "<code>$1$2$3</code>") |
Lou Montana (talk | contribs) m (Text replacement - "<sqf>([^↵][^\/]*↵[^\/]*)<\/sqf>" to "<sqf> $1 </sqf>") |
||
(5 intermediate revisions by 2 users not shown) | |||
Line 30: | Line 30: | ||
|r1= [[Nothing]] | |r1= [[Nothing]] | ||
|x1= < | |x1= <sqf>true setCamUseTI 1;</sqf> | ||
|x2= ''Predator'' vision: | |x2= ''Predator'' vision: | ||
< | <sqf> | ||
_cam = "camera" camCreate [0, 0, 0]; | |||
_cam camSetTarget player; | _cam camSetTarget player; | ||
_cam | _cam camSetRelPos [0, 1, 1.5]; | ||
_cam | _cam cameraEffect ["Internal", "Back"]; | ||
_cam | _cam camCommit 0; | ||
true setCamUseTI 7;</ | true setCamUseTI 7; | ||
</sqf> | |||
|seealso= [[camUseNVG]] [[disableTIEquipment]] | |seealso= [[camUseNVG]] [[disableTIEquipment]] | ||
}} | }} |
Latest revision as of 11:34, 3 September 2024
Description
- Description:
- Sets thermal vision mode for currently used camera. This command only works with camCreate created camera that is currently the main camera for the player (see Example 2).
- Groups:
- Camera Control
Syntax
- Syntax:
- state setCamUseTI modeIndex
- Parameters:
- state: Boolean - true to enable, false to disable the effect
- modeIndex: Number - TI mode. Can be:
- 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)
- Return Value:
- Nothing
Examples
- Example 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:
- camUseNVG disableTIEquipment
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