setMaxLoad

From Bohemia Interactive Community
Jump to navigation Jump to search
Hover & click on the images for description

Description

Description:
Sets maximum load limit for a uniform/vest/backpack containers, vehicle cargo, supply boxes and weapon holders. In MP this command should be executed on the server and will persist on given container for JIP.
Cannot be set on a unit, as unit max load value is static config type
Groups:
Unit Inventory

Syntax

Syntax:
container setMaxLoad maxLoadValue
Parameters:
container: Object - uniform/vest/backpack container, vehicle cargo, supply box, weapon holder
maxLoadValue: Number - max load limit
Return Value:
Nothing

Examples

Example 1:
_yaMum setMaxLoad _maxLoad;

Additional Information

See also:
maxLoad load loadAbs loadBackpack loadUniform loadVest getContainerMaxLoad

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