cameraView: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - "_{10,} " to "") |
Lou Montana (talk | contribs) m (Text replacement - " *\| *([Cc]omments|COMMENTS|Game|[Gg]ame [Nn]ame|Game [Vv]ersion|Game Version \(number surrounded by NO SPACES\)|Multiplayer Arguments( \("local" or "global"\))?|Effects|Multiplayer Effects( \("local" or "global"\))?|Multiplayer Exe...) |
||
Line 1: | Line 1: | ||
{{Command | {{Command | ||
| arma2 | | arma2 | ||
|1.00 | |1.00 | ||
|gr1= Camera Control | |gr1= Camera Control | ||
| Returns mode of active camera view. Mode is one of: | | Returns mode of active camera view. Mode is one of: | ||
Line 11: | Line 11: | ||
* "EXTERNAL" (3rd person) | * "EXTERNAL" (3rd person) | ||
* "GUNNER" (optics / sights) | * "GUNNER" (optics / sights) | ||
* "GROUP" (commander view) | * "GROUP" (commander view) | ||
| '''cameraView''' | | '''cameraView''' | ||
|p1 | |p1= | ||
|p2 | |p2= | ||
|p3 | |p3= | ||
| [[String]] | | [[String]] | ||
Line 27: | Line 27: | ||
{ | { | ||
_vehicle [[switchCamera]] "Internal"; | _vehicle [[switchCamera]] "Internal"; | ||
};</code> | };</code> | ||
| [[switchCamera]], [[cameraOn]], [[cameraEffect]] | | [[switchCamera]], [[cameraOn]], [[cameraEffect]] | ||
| |MPBEHAVIOUR= | | |MPBEHAVIOUR= |
Revision as of 00:10, 18 January 2021
Description
- Description:
- Returns mode of active camera view. Mode is one of:
- "INTERNAL" (1st person)
- "EXTERNAL" (3rd person)
- "GUNNER" (optics / sights)
- "GROUP" (commander view)
- Groups:
- Camera Control
Syntax
- Syntax:
- cameraView
- Return Value:
- String
Examples
- Example 1:
if (cameraOn == _vehicle && cameraView == "External") then { _vehicle switchCamera "Internal"; };
Additional Information
- See also:
- switchCameracameraOncameraEffect
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