{"name":"rating","title":"rating","type":"command","url":"https://community.bistudio.com/wiki/rating","revid":341627,"updated":"2023-06-12T19:02:54Z","groups":["Object Manipulation"],"status":"ok","games":{"ofp":"1.00","ofpe":"1.00","arma1":"1.00","arma2":"1.00","arma2oa":"1.50","tkoh":"1.00","arma3":"0.50"},"since":"ofp 1.00","arma3_since":"0.50","locality":{"argument":"global"},"description":"Check unit rating. Rating is increased for killing enemies, decreased for killing friendlies (see Rating Values). Can be changed via addRating by the mission designer.\n\nThe rating of the player is displayed as the \"score\" at the end of the mission. Via Description.ext one can define how many points it takes to get a perfect score, as well as the number of stars.","syntaxes":[{"syntax":"rating unitName","params":[{"name":"unitName","type":"Object","type_expr":"Object"}],"returns":{"type":"Number","type_expr":"Number"},"form":"unary","right":{"text":"unitName"}}],"examples":[{"code":["_score = rating player;"]}],"see_also":["Side Relations","ArmA: Rating Values","addRating","rank","setUnitRank"],"notes":[{"user":"Leo15745","date":"2011-01-06T13:19:00Z","text":"In ArmA 1.18 rating does only return rating levels for units that are local."}]}