maxLoad: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Some wiki formatting)
m (Fix)
 
Line 14: Line 14:
|r1= [[Number]]
|r1= [[Number]]


|x1= <sqf>private _maxLoad = [[maxLoad]] _yaMum;</sqf>
|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 13: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