setPylonLoadout
Jump to navigation
Jump to search
Description
- Description:
- Adds loadout to vehicle pylon. TransportPylonsComponent in config is required
- Groups:
- Uncategorised
Syntax
- Syntax:
- vehicle setPylonLoadout [pylon, magazine, forced, turret];
- Parameters:
- vehicle: Object
- [pylon, magazine, forced, turret] : Array
- pylon: Number or String - pylon index (index starts from 1) or pylon name (see getCompatiblePylonMagazines Example 4)
- magazine: String - magazine name
- forced (Optional): Boolean - true to force incompatible magazine. Default: false
- turret (Optional): Array - turret path. Default: []
- Return Value:
- Bool - true on success
Examples
- Example 1:
vehicle player setPylonLoadout ["pylon1", ""];
Additional Information
- See also:
- Arma 3 Vehicle LoadoutsgetCompatiblePylonMagazinesgetPylonMagazinessetAmmoOnPylonammoOnPylonanimatePylonanimateBaysetPylonsPriority
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
Notes
Bottom Section
- Posted on April 30, 2020 - 13:01 (UTC)
- POLPOX
- turret must be [] if you wanted to equip the magazine to the pilot. [-1] will return false and fails unlike other turret related commands.