cameraView: Difference between revisions
Jump to navigation
Jump to search
(add. classification) |
Dr Eyeball (talk | contribs) (define return values, links) |
||
Line 7: | Line 7: | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
| | | Returns mode of active camera view. Mode is one of: | ||
* "INTERNAL" (1st person) | |||
* "EXTERNAL" (3rd person) | |||
* "GUNNER" (optics / sights) | |||
* "GROUP" (commander view) |= Description | |||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
Line 21: | Line 25: | ||
|x1= <code>( | |x1= <code><nowiki>if (cameraOn == _vehicle && cameraView == "External") then | ||
{ | |||
_vehicle switchCamera "Internal"; | |||
};</nowiki></code>|= EXAMPLE1 | |||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
| | | [[switchCamera]], [[cameraOn]] |= SEEALSO | ||
| |= MPBEHAVIOUR | | |= MPBEHAVIOUR |
Revision as of 11:06, 19 June 2009
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:
- Uncategorised
Syntax
- Syntax:
- cameraView
- Return Value:
- String
Examples
- Example 1:
if (cameraOn == _vehicle && cameraView == "External") then { _vehicle switchCamera "Internal"; };
Additional Information
- See also:
- switchCameracameraOn
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