{"name":"ppEffectCommitted","operator":null,"title":"ppEffectCommitted","type":"command","url":"https://community.bistudio.com/wiki/ppEffectCommitted","revid":348518,"updated":"2023-11-08T13:06:00Z","groups":["Camera Control"],"status":"ok","replaced_by":[],"games":[{"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":"arma2","name":"Arma 2","version":"1.00"},"arma3_since":"0.50","branch":null,"locality":{"argument":null,"effect":null,"server_exec":false},"exec":null,"description":"Check whether given post process effect is committed.","syntaxes":[{"syntax":"ppEffectCommitted effect","since":null,"effect":null,"exec":null,"params":[{"name":"effect","type":"String","optional":false,"default":null,"description":"effect name","types":["String"],"since":null,"text":"effect: String - effect name"}],"returns":{"type":"Boolean","types":["Boolean"],"description":null,"text":"Boolean"},"form":"unary","operator":null,"left":null,"right":{"text":"effect","types":["String"]}},{"syntax":"ppEffectCommitted handle","since":null,"effect":null,"exec":null,"params":[{"name":"handle","type":"Number","optional":false,"default":null,"description":"effect handle","types":["Number"],"since":null,"text":"handle: Number - effect handle"}],"returns":{"type":"Boolean","types":["Boolean"],"description":null,"text":"Boolean"},"form":"unary","operator":null,"left":null,"right":{"text":"handle","types":["Number"]}}],"examples":[{"text":"```sqf\nppEffectCommitted \"colorCorrection\";\n```","code":["ppEffectCommitted \"colorCorrection\";"]},{"text":"```sqf\nppEffectCommitted _hndl;\n```","code":["ppEffectCommitted _hndl;"]},{"text":"```sqf\nif (ppEffectCommitted \"colorCorrection\") then { hint \"alteration done !\" };\n```","code":["if (ppEffectCommitted \"colorCorrection\") then { hint \"alteration done !\" };"]}],"multiplayer":null,"problems":null,"aliases":[],"see_also":["Post Process Effects","ppEffectForceInNVG","ppEffectEnable","ppEffectDestroy","ppEffectCreate","ppEffectCommit","ppEffectAdjust"],"notes":[],"categories":["Arma 2: New Scripting Commands","Arma 2: Operation Arrowhead: Scripting Commands","Arma 2: Scripting Commands","Arma 3: Scripting Commands","Command Group: Camera Control","Introduced with Arma 2 version 1.00","Scripting Commands","Take On Helicopters: Scripting Commands"]}