Vehicle Loadouts
10 scripting commands. Also as Markdown for agents.
- ammoOnPylonReturns ammo count on given pylon (or false on failure).
- animateBayForces animation of bay to given state, -1 for reset to engine handling, can cause weapon inoperative, because weapon is released when bay state == 1.
- animatePylonForce animation of pylon to given state, -1 for reset to engine handling, can cause weapon inoperative, because weapon is released when pylon state…
- getAllPylonsInfoReturn an array with the vehicle's all pylons info.
- getCompatiblePylonMagazinesGet array of compatible pylon magazines
- getPylonMagazinesReturn array of magazines on pylons.
- pylonActionExecutes an action on a specific pylon. MP effect and locality depend on the specific action.
- setAmmoOnPylonSet count of ammo in magazine on pylon (supports pylon name since Arma 3 v1.94)
- setPylonLoadoutAdds/overrides loadout to a vehicle pylon. `TransportPylonsComponent` in vehicle config and `pylonWeapon` in the magazine config are required to run.
- setPylonsPriorityOverrides default pylons priorities.