{"name":"BIS_fnc_moduleRating","operator":null,"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","replaced_by":[],"games":[{"game":"arma3","name":"Arma 3","version":"1.00"}],"since":{"game":"arma3","name":"Arma 3","version":"1.00"},"arma3_since":"1.00","branch":null,"locality":{"argument":null,"effect":null,"server_exec":false},"exec":null,"description":"Function used by the Rating module.","syntaxes":[{"syntax":"[logic, units, activated] call BIS_fnc_moduleRating","since":null,"effect":null,"exec":null,"params":[{"name":"logic","type":"Object","optional":false,"default":null,"description":"a logic, but can be any object. Rating and Score are set with setVariable","types":["Object"],"since":null,"text":"logic: Object - a logic, but can be any object. Rating and Score are set with setVariable"},{"name":"units","type":"Array of Objects","optional":false,"default":null,"description":"units to add rating/score to","types":["Array","Object"],"since":null,"text":"units: Array of Objects - units to add rating/score to"},{"name":"activated","type":"Boolean","optional":true,"default":"true","description":"true to activate","types":["Boolean"],"since":null,"text":"activated: Boolean - (Optional, default true) true to activate"}],"returns":{"type":"Boolean","types":["Boolean"],"description":"true when done","text":"Boolean - true when done"}}],"examples":[{"text":"```sqf\n[myLogic, units group player, true] call BIS_fnc_moduleRating;\n```","code":["[myLogic, units group player, true] call BIS_fnc_moduleRating;"]}],"multiplayer":null,"problems":null,"aliases":[],"see_also":["Arma 3: Editor Modules"],"notes":[],"categories":["Arma 3: Functions","Arma 3: New Functions","Function Group: Modules","Functions","Introduced with Arma 3 version 1.00"],"docblock":null,"filled_from_docblock":[]}