setMaxLoad: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "\|seealso= *\[\[([^ ]+)\]\], \[\[([^ ]+)\]\]" to "|seealso= $1 $2")
m (Text replacement - "\|seealso= *\[\[([^ ]+)\]\], \[\[([^ ]+)\]\]" to "|seealso= $1 ")
Line 20: Line 20:
|x1= <code>_yaMum [[setMaxLoad]] _maxLoad;</code>
|x1= <code>_yaMum [[setMaxLoad]] _maxLoad;</code>


|seealso= [[maxLoad]] [[load]] [[loadAbs]] [[loadBackpack]], [[loadUniform]], [[loadVest]], [[getContainerMaxLoad]]
|seealso= [[maxLoad]] [[load]] [[loadAbs]] [[loadBackpack]] [[loadUniform]], [[loadVest]], [[getContainerMaxLoad]]
}}
}}

Revision as of 18:12, 20 January 2022

Hover & click on the images for description
Only available in Development branch(es) until its release with Arma 3 patch v2.08.

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 loadUniformloadVestgetContainerMaxLoad

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