getPilotCameraOpticsMode: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - " |version1= 2.14 |branch= dev" to " |version1= 2.14")
m (Text replacement - "(\|[pr][0-9]+ *= *[^- ]*) *- *T([a-z ])" to "$1 - t$2")
 
Line 14: Line 14:
|p1= object: [[Object]]
|p1= object: [[Object]]


|r1= [[Number]] - The index of the optic mode
|r1= [[Number]] - the index of the optic mode


|x1= <sqf>getPilotCameraOpticsMode vehicle player</sqf>
|x1= <sqf>getPilotCameraOpticsMode vehicle player</sqf>

Latest revision as of 15:50, 8 November 2023

Hover & click on the images for description

Description

Description:
Returns the optics mode index (zoom) for the pilotCamera
Groups:
Pilot Camera

Syntax

Syntax:
getPilotCameraOpticsMode object
Parameters:
object: Object
Return Value:
Number - the index of the optic mode

Examples

Example 1:
getPilotCameraOpticsMode vehicle player

Additional Information

See also:
setPilotCameraOpticsMode hasPilotCamera getPilotCameraPosition getPilotCameraDirection getPilotCameraRotation setPilotCameraDirection setPilotCameraRotation setPilotCameraTarget getPilotCameraTarget getTurretOpticsMode setTurretOpticsMode

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