loadVest: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - "\|( *\[\[[a-zA-Z]+\]\]) * \|x1=" to "|r1=$1 |x1=") |
Lou Montana (talk | contribs) m (Text replacement - " +<\/code>" to "</code>") |
||
Line 9: | Line 9: | ||
| Returns current percentage of mass from items stored in a vest relative to the maximum capacity of the vest. <br> | | Returns current percentage of mass from items stored in a vest relative to the maximum capacity of the vest. <br> | ||
It is equivalent to this formula: | It is equivalent to this formula: | ||
<code>_loadVest <nowiki>=</nowiki> massOfAllItemsInVest / [[getContainerMaxLoad]] [[vest]] [[player]]; </code> | <code>_loadVest <nowiki>=</nowiki> massOfAllItemsInVest / [[getContainerMaxLoad]] [[vest]] [[player]];</code> | ||
| '''loadVest''' unit | | '''loadVest''' unit |
Revision as of 22:49, 10 June 2021
Description
- Description:
- Description needed
- Groups:
- Unit Inventory
Syntax
- Syntax:
- Syntax needed
- Parameters:
- unit: Object
- Return Value:
- Number
Examples
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