Arma 3 Scripting

elevatePeriscope

  • Arma 3 v2.00

Command · also in Animations · Markdown · JSON · original wiki page

Description

Elevates periscope of a vehicle. Vehicles in Arma 3 which are compatible with this tech are Strider, remote laser designators, the robot arm on Eddie, etc. Please note that SDV submarine has a different periscope, which is just an animated selection and could be raised and lowered with animate command.

Note

  • a user can immediately override any elevation in progress by using assigned keyboard keys. To block user input see the blockUserInput parameter.
  • a PeriscopeElevationChanged entity event handler is also provided.

Syntax

vehicle elevatePeriscope [turret, elevation, speed, blockUserInput]

Parameters:

Returns: Nothing

Examples

Example 1

_eddie elevatePeriscope [[0], 0.75, 0.1];

See also

periscopeElevation · animate · Arma 3: Event Handlers