setPylonLoadout

From Bohemia Interactive Community
Jump to navigation Jump to search
Introduced with Arma 3 version 1.70
  

Click on the images for descriptions

Introduced in

Game:
Arma 3
Version:
1.70

Description

Description:
Adds loadout to vehicle pylon. TransportPylonsComponent in config is required

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

Multiplayer:
-
See also:
Arma 3 Vehicle LoadoutsgetCompatiblePylonMagazinesgetPylonMagazinessetAmmoOnPylonammoOnPylonanimatePylonanimateBaysetPylonsPriority

Notes

Only post proven facts here. Report bugs on the feedback tracker. Use the talk page or the forums for discussions.
Add New Note | How To

Notes

Bottom Section