setMaxLoad: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Some wiki formatting) |
Lou Montana (talk | contribs) m (Some wiki formatting) |
||
Line 8: | Line 8: | ||
|gr1= Unit Inventory | |gr1= Unit Inventory | ||
|descr= 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 | |descr= 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. | ||
{{Feature| | {{Feature|informative|Cannot be set on a unit, as unit max load value is static config type}} | ||
|s1= container [[setMaxLoad]] maxLoadValue | |s1= container [[setMaxLoad]] maxLoadValue | ||
Line 19: | Line 19: | ||
|r1= [[Nothing]] | |r1= [[Nothing]] | ||
|x1= < | |x1= <sqf>_yaMum setMaxLoad _maxLoad;</sqf> | ||
|seealso= [[maxLoad]] [[load]] [[loadAbs]] [[loadBackpack]] [[loadUniform]] [[loadVest]] [[getContainerMaxLoad]] | |seealso= [[maxLoad]] [[load]] [[loadAbs]] [[loadBackpack]] [[loadUniform]] [[loadVest]] [[getContainerMaxLoad]] | ||
}} | }} |
Latest revision as of 12:53, 3 May 2022
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.
- 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
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