{"name":"BIS_fnc_setRank","title":"BIS fnc setRank","type":"function","url":"https://community.bistudio.com/wiki/BIS_fnc_setRank","revid":349416,"updated":"2023-11-08T16:27:30Z","groups":["Object Manipulation"],"status":"ok","games":{"arma3":"1.00"},"since":"arma3 1.00","arma3_since":"1.00","description":"Set rank of vehicle crew.","syntaxes":[{"syntax":"[target, rank] call BIS_fnc_setRank","params":[{"name":"target","type":"Object","description":"the vehicle whose crew's rank should be adjusted","type_expr":"Object"},{"name":"rank","type":"String or Number","description":"rank name or rank ID, can be:\n0 - \"Private\"\n1 - \"Corporal\"\n2 - \"Sergeant\"\n3 - \"Lieutenant\"\n4 - \"Captain\"\n5 - \"Major\"\n6 - \"Colonel\"","type_expr":"String | Number"}],"returns":{"type":"Boolean","type_expr":"Boolean"}}],"examples":[{"code":["[vehicle player, \"Captain\"] call BIS_fnc_setRank;"]}],"see_also":["rank","setRank"]}