Arma 3 Scripting

Command in Animations, Vehicle Loadouts

animatePylon

Also available as Markdown and JSON, or read the original wiki page.

Description

Force animation of pylon to given state, -1 for reset to engine handling, can cause weapon inoperative, because weapon is released when pylon state == 1.

Syntax

vehicle animatePylon [pylon, animphase, instant]

Parameters:

Returns: Nothing

Examples

Example 1

vehicle player animatePylon [1, 0.5];

Example 2

vehicle player animatePylon ["pylon1", 0.5];

Example 3

vehicle player animatePylon ["pylon1", 1, true];

See also

Arma 3: Vehicle Loadouts · getCompatiblePylonMagazines · getPylonMagazines · setAmmoOnPylon · animateBay · setPylonsPriority · setPylonLoadout