loadAbs: Difference between revisions

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




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





Revision as of 23:06, 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:
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:
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