maxLoad: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "\|seealso= *\[\[([^ ]+)\]\], \[\[([^ ]+)\]\]" to "|seealso= $1 $2")
m (Fix)
 
(6 intermediate revisions by the same user not shown)
Line 3: Line 3:
|game1= arma3
|game1= arma3
|version1= 2.08
|version1= 2.08
|branch= dev


|gr1= Unit Inventory
|gr1= Unit Inventory
Line 15: Line 14:
|r1= [[Number]]
|r1= [[Number]]


|x1= <code>_maxLoad = [[maxLoad]] _yaMum;</code>
|x1= <sqf>private _maxLoad = maxLoad _yaMum;</sqf>


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

Latest revision as of 12:08, 3 May 2022

Hover & click on the images for description

Description

Description:
Returns maximum load limit for a unit, uniform/vest/backpack containers, vehicle cargo, supply boxes and weapon holders.
Groups:
Unit Inventory

Syntax

Syntax:
maxLoad container
Parameters:
container: Object - unit, uniform/vest/backpack container, vehicle cargo, supply box, weapon holder
Return Value:
Number

Examples

Example 1:
private _maxLoad = maxLoad _yaMum;

Additional Information

See also:
setMaxLoad 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