{"name":"addLiveStats","operator":null,"title":"addLiveStats","type":"command","url":"https://community.bistudio.com/wiki/addLiveStats","revid":318778,"updated":"2022-05-13T09:21:29Z","groups":["System"],"status":"ok","replaced_by":[],"games":[{"game":"ofpe","name":"Operation Flashpoint: Elite","version":"1.00"},{"game":"arma2","name":"Arma 2","version":"1.00"},{"game":"arma2oa","name":"Arma 2: Operation Arrowhead","version":"1.50"},{"game":"tkoh","name":"Take On Helicopters","version":"1.00"},{"game":"arma3","name":"Arma 3","version":"0.50"}],"since":{"game":"ofpe","name":"Operation Flashpoint: Elite","version":"1.00"},"arma3_since":"0.50","branch":null,"locality":{"argument":null,"effect":null,"server_exec":false},"exec":null,"description":"Adds score to the Xbox Live Statistics score for the given unit (or the commander unit of the given vehicle).","syntaxes":[{"syntax":"unit addLiveStats score","since":null,"effect":null,"exec":null,"params":[{"name":"unit","type":"Object","optional":false,"default":null,"description":null,"types":["Object"],"since":null,"text":"unit: Object"},{"name":"score","type":"Number","optional":false,"default":null,"description":null,"types":["Number"],"since":null,"text":"score: Number"}],"returns":{"type":"Nothing","types":["Nothing"],"description":null,"text":"Nothing"},"form":"binary","operator":null,"left":{"text":"unit","types":["Object"]},"right":{"text":"score","types":["Number"]}}],"examples":[{"text":"```sqf\nplayer addLiveStats 10;\n```","code":["player addLiveStats 10;"]}],"multiplayer":null,"problems":null,"aliases":[],"see_also":["setArmoryPoints","unlockAchievement","setStatValue"],"notes":[],"categories":["Arma 2: Operation Arrowhead: Scripting Commands","Arma 2: Scripting Commands","Arma 3: Scripting Commands","Command Group: System","Introduced with Operation Flashpoint: Elite version 1.00","Operation Flashpoint: Elite: New Scripting Commands","Operation Flashpoint: Elite: Scripting Commands","Scripting Commands","Take On Helicopters: Scripting Commands"]}