periscopeElevation

From Bohemia Interactive Community
Jump to navigation Jump to search
Introduced with Arma 3 version 2.002.00
Hover & click on the images for descriptions

Description

Description:
Returns current periscope elevation value, see also elevatePeriscope.

Syntax

Syntax:
periscopeElevation vehicle
Parameters:
vehicle: Object - vehicle with periscope tech
Return Value:
Array - in format [elevation, userisblocked], where:
  • elevation: Number - current periscope elevation value
  • userisblocked: Boolean - whether or not user override is blocked

Examples

Example 1:
periscopeElevation _eddie;

Additional Information

See also:
elevatePeriscopeanimationPhasePeriscopeElevationChanged
Groups:
Object ManipulationAnimations

Notes

i
Only post proven facts here. Report bugs on the Feedback Tracker and discuss on the Arma Discord or on the Forums.

Bottom Section