{"name":"ppEffectCommit","operator":null,"title":"ppEffectCommit","type":"command","url":"https://community.bistudio.com/wiki/ppEffectCommit","revid":327517,"updated":"2022-07-12T22:25:19Z","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":"Commit post process effect in given time.","syntaxes":[{"syntax":"effect ppEffectCommit commit","since":null,"effect":null,"exec":null,"params":[{"name":"effect","type":"String","optional":false,"default":null,"description":"name of the effect","types":["String"],"since":null,"text":"effect: String - name of the effect"},{"name":"commit","type":"Number","optional":false,"default":null,"description":"duration","types":["Number"],"since":null,"text":"commit: Number - duration"}],"returns":{"type":"Nothing","types":["Nothing"],"description":null,"text":"Nothing"},"form":"binary","operator":null,"left":{"text":"effect","types":["String"]},"right":{"text":"commit","types":["Number"]}},{"syntax":"handle ppEffectCommit commit","since":null,"effect":null,"exec":null,"params":[{"name":"handle","type":"Number","optional":false,"default":null,"description":"handle of the effect","types":["Number"],"since":null,"text":"handle: Number - handle of the effect"},{"name":"commit","type":"Number","optional":false,"default":null,"description":"duration","types":["Number"],"since":null,"text":"commit: Number - duration"}],"returns":{"type":"Nothing","types":["Nothing"],"description":null,"text":"Nothing"},"form":"binary","operator":null,"left":{"text":"handle","types":["Number"]},"right":{"text":"commit","types":["Number"]}},{"syntax":"handles ppEffectCommit commit","since":null,"effect":null,"exec":null,"params":[{"name":"handles","type":"Array of Numbers","optional":false,"default":null,"description":"list of handles","types":["Array","Number"],"since":null,"text":"handles: Array of Numbers - list of handles"},{"name":"commit","type":"Number","optional":false,"default":null,"description":"duration","types":["Number"],"since":null,"text":"commit: Number - duration"}],"returns":{"type":"Nothing","types":["Nothing"],"description":null,"text":"Nothing"},"form":"binary","operator":null,"left":{"text":"handles","types":["Array","Number"]},"right":{"text":"commit","types":["Number"]}}],"examples":[{"text":"```sqf\n\"colorCorrection\" ppEffectCommit 3;\n```","code":["\"colorCorrection\" ppEffectCommit 3;"]},{"text":"```sqf\n_hndl ppEffectCommit 3;\n```","code":["_hndl ppEffectCommit 3;"]},{"text":"```sqf\n[_hndl1, _hndl2] ppEffectCommit 3;\n```","code":["[_hndl1, _hndl2] ppEffectCommit 3;"]}],"multiplayer":null,"problems":null,"aliases":[],"see_also":["Post Process Effects","ppEffectForceInNVG","ppEffectEnable","ppEffectEnabled","ppEffectDestroy","ppEffectCreate","ppEffectCommitted","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"]}