periscopeElevation: Difference between revisions
Jump to navigation
Jump to search
m (2.00 update) |
Lou Montana (talk | contribs) (Fix syntax) |
||
Line 11: | Line 11: | ||
|descr= Returns current periscope elevation value, see also [[elevatePeriscope]]. |Description= | |descr= Returns current periscope elevation value, see also [[elevatePeriscope]]. |Description= | ||
____________________________________________________________________________________________ | |||
| | |s1= vehicle [[periscopeElevation]] turretPath |Syntax= | ||
| | |p1= vehicle: [[Object]] - vehicle with periscope tech |Parameter1= | ||
|p2= turretPath: [[Array]] - turret path | |||
|r1= [[Array]] - in format [elevation, locked], where: | |||
|r1= [[Array]] - in format [elevation, | |||
* elevation: [[Number]] - current periscope elevation value | * elevation: [[Number]] - current periscope elevation value | ||
* | * locked: [[Boolean]] - whether or not user override is blocked |Return Value= | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
Line 27: | Line 27: | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
|seealso= [[elevatePeriscope]], [[animationPhase]], [[ | |seealso= [[elevatePeriscope]], [[animationPhase]], [[allTurrets]], [[Arma 3: Event Handlers#PeriscopeElevationChanged|PeriscopeElevationChanged]] |See Also= | ||
}} | }} | ||
Revision as of 23:01, 22 November 2020
Description
- Description:
- Returns current periscope elevation value, see also elevatePeriscope.
- Groups:
- Object ManipulationAnimations
Syntax
- Syntax:
- vehicle periscopeElevation turretPath
- Parameters:
- vehicle: Object - vehicle with periscope tech
- turretPath: Array - turret path
- Return Value:
- Array - in format [elevation, locked], where:
Examples
- Example 1:
periscopeElevation _eddie;
Additional Information
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