Difference between revisions of "periscopeElevation"

From Bohemia Interactive Community
Jump to navigation Jump to search
(Fix syntax)
m (Fix example)
Line 20: Line 20:
  
 
|r1= [[Array]] - in format [elevation, locked], where:
 
|r1= [[Array]] - in format [elevation, locked], where:
* elevation: [[Number]] - current periscope elevation value
+
* elevation: [[Number]] - current periscope elevation value. -1 in case of an invalid turret
 
* locked: [[Boolean]] - whether or not user override is blocked |Return Value=
 
* locked: [[Boolean]] - whether or not user override is blocked |Return Value=
 
____________________________________________________________________________________________
 
____________________________________________________________________________________________
  
|x1= <code>[[periscopeElevation]] _eddie;</code> |Example 1=
+
|x1= <code>_eddie [[periscopeElevation]] [0];</code> |Example 1=
 
____________________________________________________________________________________________
 
____________________________________________________________________________________________
  

Revision as of 00:03, 23 November 2020

Template:Command

Bottom Section