{"name":"getStatValue","operator":null,"title":"getStatValue","type":"command","url":"https://community.bistudio.com/wiki/getStatValue","revid":347571,"updated":"2023-09-28T10:03:14Z","groups":["System"],"status":"ok","replaced_by":[],"games":[{"game":"arma3","name":"Arma 3","version":"1.18"}],"since":{"game":"arma3","name":"Arma 3","version":"1.18"},"arma3_since":"1.18","branch":null,"locality":{"argument":null,"effect":null,"server_exec":false},"exec":null,"description":"Returns value of the given stat.\n\nA list of possible StatNames can be found here: Arma 3: Stat Names","syntaxes":[{"syntax":"getStatValue name","since":null,"effect":null,"exec":null,"params":[{"name":"name","type":"String","optional":false,"default":null,"description":null,"types":["String"],"since":null,"text":"name: String"}],"returns":{"type":"Number","types":["Number"],"description":"(can return Nothing)","text":"Number - (can return Nothing)"},"form":"unary","operator":null,"left":null,"right":{"text":"name","types":["String"]}}],"examples":[{"text":"```sqf\ngetStatValue \"ExpWarlockDown\"; // Checks if the \"Warlock Down\" Achivement was already aquired\n```","code":["getStatValue \"ExpWarlockDown\"; // Checks if the \"Warlock Down\" Achivement was already aquired"]}],"multiplayer":null,"problems":null,"aliases":[],"see_also":["setStatValue","Arma 3: Stat Names"],"notes":[],"categories":["Arma 3: New Scripting Commands","Arma 3: Scripting Commands","Command Group: System","Introduced with Arma 3 version 1.18","Scripting Commands"]}