loadAbs: Difference between revisions
Jump to navigation
Jump to search
(Examples provided.) |
(Examples corrected) |
||
Line 17: | Line 17: | ||
|x1= | |x1= Player unit weight in kilograms:<code>_weight = (((loadAbs player)*0.1)/2.2);</code>|= EXAMPLE1 | ||
|x2= | |x2= Player unit weight in pounds:<code>_weight = ((loadabs player)*0.1);</code>|= EXAMPLE2 | ||
Revision as of 23:06, 2 November 2016
Description
- Description:
- Returns current sum of mass from items stored in all unit's containers, linked items and weapons.
- Groups:
- Uncategorised
Syntax
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
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