loadVest: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - "_{10,} " to "") |
Lou Montana (talk | contribs) m (Text replacement - " *\| *([Cc]omments|COMMENTS|Game|[Gg]ame [Nn]ame|Game [Vv]ersion|Game Version \(number surrounded by NO SPACES\)|Multiplayer Arguments( \("local" or "global"\))?|Effects|Multiplayer Effects( \("local" or "global"\))?|Multiplayer Exe...) |
||
Line 1: | Line 1: | ||
{{Command | {{Command | ||
| arma3 | | arma3 | ||
|0.50 | |0.50 | ||
|gr1= Unit Inventory | |gr1= Unit Inventory | ||
| 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 | ||
|p1= unit: [[Object]] | |p1= unit: [[Object]] | ||
| [[Number]] | | [[Number]] | ||
|x1= <code>_weight = [[loadVest]] [[player]]</code> | |x1= <code>_weight = [[loadVest]] [[player]]</code> | ||
| [[load]], [[loadAbs]], [[loadBackpack]], [[loadUniform]], [[getMass]], [[weightRTD]], [[getContainerMaxLoad]] | | [[load]], [[loadAbs]], [[loadBackpack]], [[loadUniform]], [[getMass]], [[weightRTD]], [[getContainerMaxLoad]] | ||
| |MPBEHAVIOUR= | | |MPBEHAVIOUR= |
Revision as of 00:59, 18 January 2021
Description
- Description:
- Returns current percentage of mass from items stored in a vest relative to the maximum capacity of the vest.
It is equivalent to this formula:_loadVest = massOfAllItemsInVest / getContainerMaxLoad vest player;
- Groups:
- Unit Inventory
Syntax
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