{"name":"BIS_fnc_moduleRating","title":"BIS fnc moduleRating","type":"function","url":"https://community.bistudio.com/wiki/BIS_fnc_moduleRating","revid":327571,"updated":"2022-07-12T22:39:18Z","groups":["Modules"],"status":"ok","games":{"arma3":"1.00"},"since":"arma3 1.00","arma3_since":"1.00","description":"Function used by the Rating module.","syntaxes":[{"syntax":"[logic, units, activated] call BIS_fnc_moduleRating","params":[{"name":"logic","type":"Object","description":"a logic, but can be any object. Rating and Score are set with setVariable","type_expr":"Object"},{"name":"units","type":"Array of Objects","description":"units to add rating/score to","type_expr":"Array<Object>"},{"name":"activated","type":"Boolean","optional":true,"default":"true","description":"true to activate","type_expr":"Boolean","text":"activated: Boolean - (Optional, default true) true to activate"}],"returns":{"type":"Boolean","type_expr":"Boolean","description":"true when done"}}],"examples":[{"code":["[myLogic, units group player, true] call BIS_fnc_moduleRating;"]}],"see_also":["Arma 3: Editor Modules"]}