setMaxLoad: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) |
Lou Montana (talk | contribs) m (Some wiki formatting) |
||
(6 intermediate revisions by the same user not shown) | |||
Line 3: | Line 3: | ||
|game1= arma3 | |game1= arma3 | ||
|version1= 2.08 | |version1= 2.08 | ||
|serverExec= server | |serverExec= server | ||
|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 | ||
|p1= container: [[Object]] - uniform/vest/backpack container, vehicle cargo, supply box, weapon holder | |p1= container: [[Object]] - uniform/vest/backpack container, vehicle cargo, supply box, weapon holder | ||
|p2= maxLoadValue: [[Number]] - max load limit | |p2= maxLoadValue: [[Number]] - max load limit | ||
|r1= [[Nothing]] | |r1= [[Nothing]] | ||
|x1= < | |x1= <sqf>_yaMum setMaxLoad _maxLoad;</sqf> | ||
|seealso= [[maxLoad]] [[load]] | |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