setPylonLoadout: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - "|= Game name" to "|Game name=") |
m (Effect local) |
||
Line 5: | Line 5: | ||
|1.70|Game Version= | |1.70|Game Version= | ||
|eff= local |Multiplayer Effects= | |||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
Revision as of 06:45, 12 February 2020
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