{"name":"loadUniform","title":"loadUniform","type":"command","url":"https://community.bistudio.com/wiki/loadUniform","revid":320992,"updated":"2022-05-13T10:22:04Z","groups":["Unit Inventory"],"status":"ok","games":{"arma3":"0.50"},"since":"arma3 0.50","arma3_since":"0.50","description":"Returns current percentage of mass from items stored in a uniform relative to the maximum capacity of the uniform.\nIt is equivalent to this formula:\n\n```sqf\nprivate _loadUniform = massOfAllItemsInUniform / getContainerMaxLoad uniform player;\n```","syntaxes":[{"syntax":"loadUniform unit","params":[{"name":"unit","type":"Object","type_expr":"Object"}],"returns":{"type":"Number","type_expr":"Number"},"form":"unary","right":{"text":"unit"}}],"examples":[{"code":["private _weight = loadUniform player;"]}],"see_also":["load","loadAbs","loadBackpack","loadVest","getMass","weightRTD","getContainerMaxLoad"]}