loadAbs: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
(Examples corrected)
(see also)
Line 23: Line 23:
____________________________________________________________________________________________
____________________________________________________________________________________________


| [[load]], [[loadBackpack]], [[loadUniform]], [[loadVest]], [[getMass]], [[weightRTD]] |= SEEALSO  
| [[load]], [[loadBackpack]], [[loadUniform]], [[loadVest]], [[getMass]], [[weightRTD]], [[getContainerMaxLoad]] |= SEEALSO  


|  |= MPBEHAVIOUR  
|  |= MPBEHAVIOUR  

Revision as of 00:58, 6 December 2016

Hover & click on the images for description

Description

Description:
Returns current sum of mass from items stored in all unit's containers, linked items and weapons.
Groups:
Uncategorised

Syntax

Syntax:
loadAbs unit
Parameters:
unit: Object
Return Value:
Number

Examples

Example 1:
Player unit weight in kilograms:_weight = (((loadAbs player)*0.1)/2.2);
Example 2:
Player unit weight in pounds:_weight = ((loadabs player)*0.1);

Additional Information

See also:
loadloadBackpackloadUniformloadVestgetMassweightRTDgetContainerMaxLoad

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

Notes

Bottom Section