{"name":"objStatus","operator":null,"title":"objStatus","type":"command","url":"https://community.bistudio.com/wiki/objStatus","revid":322935,"updated":"2022-06-28T21:42:43Z","groups":["Briefing"],"status":"ok","replaced_by":[],"games":[{"game":"ofp","name":"Operation Flashpoint","version":"1.00"},{"game":"ofpe","name":"Operation Flashpoint: Elite","version":"1.00"},{"game":"arma1","name":"Armed Assault","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":"ofp","name":"Operation Flashpoint","version":"1.00"},"arma3_since":"0.50","branch":null,"locality":{"argument":null,"effect":null,"server_exec":false},"exec":null,"description":"Sets the status of an objective that was defined in briefing.html.\n\nStatus may be one of:\n- \"ACTIVE\"\n- \"FAILED\"\n- \"DONE\"\n- \"HIDDEN\"\n\nTo refer to an objective that is named \"OBJ_1\", for example, use only the index number in this command (i.e. \"1\" objStatus \"HIDDEN\").","syntaxes":[{"syntax":"objectivenumber objStatus status","since":null,"effect":null,"exec":null,"params":[{"name":"objectivenumber","type":"String","optional":false,"default":null,"description":null,"types":["String"],"since":null,"text":"objectivenumber: String"},{"name":"status","type":"String","optional":false,"default":null,"description":null,"types":["String"],"since":null,"text":"status: String"}],"returns":{"type":"Nothing","types":["Nothing"],"description":null,"text":"Nothing"},"form":"binary","operator":null,"left":{"text":"objectivenumber","types":["String"]},"right":{"text":"status","types":["String"]}}],"examples":[{"text":"```sqf\n\"1\" objStatus \"DONE\";\n```\n\nMarks the objective named \"OBJ_1\" as completed.","code":["\"1\" objStatus \"DONE\";"]}],"multiplayer":null,"problems":null,"aliases":[],"see_also":[],"notes":[],"categories":["ArmA: Armed Assault: Scripting Commands","Arma 2: Operation Arrowhead: Scripting Commands","Arma 2: Scripting Commands","Arma 3: Scripting Commands","Command Group: Briefing","Introduced with Operation Flashpoint version 1.00","Operation Flashpoint: Elite: Scripting Commands","Operation Flashpoint: New Scripting Commands","Operation Flashpoint: Scripting Commands","Scripting Commands","Take On Helicopters: Scripting Commands"]}