loadAbs: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
(See Also)
(Examples provided.)
Line 17: Line 17:




|x1= <code>
|x1= Unit weight in kilograms:<code>_weight = (((loadAbs player)*0.1)/2.2);</code>|= EXAMPLE1
</code>|= EXAMPLE1
|x2= Unit weight in pounds:<code>_weight = ((loadabs player)*0.1);</code>|= EXAMPLE2
 


____________________________________________________________________________________________
____________________________________________________________________________________________

Revision as of 23:05, 2 November 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:
Unit weight in kilograms:_weight = (((loadAbs player)*0.1)/2.2);
Example 2:
Unit weight in pounds:_weight = ((loadabs player)*0.1);

Additional Information

See also:
loadloadBackpackloadUniformloadVestgetMassweightRTD

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