getPilotCameraOpticsMode: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
(Page creation)
 
m (Text replacement - "(\|[pr][0-9]+ *= *[^- ]*) *- *T([a-z ])" to "$1 - t$2")
 
(2 intermediate revisions by 2 users not shown)
Line 3: Line 3:
|game1= arma3
|game1= arma3
|version1= 2.14
|version1= 2.14
|branch= dev


|arg= local
|arg= local
Line 16: 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>


|seealso= [[hasPilotCamera]] [[getPilotCameraPosition]] [[getPilotCameraDirection]] [[getPilotCameraRotation]] [[setPilotCameraDirection]] [[setPilotCameraRotation]] [[setPilotCameraTarget]] [[getPilotCameraTarget]] [[getTurretOpticsMode]] [[setTurretOpticsMode]]
|seealso= [[setPilotCameraOpticsMode]] [[hasPilotCamera]] [[getPilotCameraPosition]] [[getPilotCameraDirection]] [[getPilotCameraRotation]] [[setPilotCameraDirection]] [[setPilotCameraRotation]] [[setPilotCameraTarget]] [[getPilotCameraTarget]] [[getTurretOpticsMode]] [[setTurretOpticsMode]]
}}
}}

Latest revision as of 16: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