{"name":"BIS_fnc_setPPeffectTemplate","operator":null,"title":"BIS fnc setPPeffectTemplate","type":"function","url":"https://community.bistudio.com/wiki/BIS_fnc_setPPeffectTemplate","revid":327498,"updated":"2022-07-12T22:24:27Z","groups":["Systems"],"status":"ok","replaced_by":[],"games":[{"game":"arma3","name":"Arma 3","version":"1.00"}],"since":{"game":"arma3","name":"Arma 3","version":"1.00"},"arma3_since":"1.00","branch":null,"locality":{"argument":null,"effect":null,"server_exec":false},"exec":null,"description":"Apply post-process effects according to template from CfgPostprocessTemplates.","syntaxes":[{"syntax":"[template, transition, global] call BIS_fnc_setPPeffectTemplate","since":null,"effect":null,"exec":null,"params":[{"name":"template","type":"String","optional":true,"default":"\"Default\"","description":"the template name. An invalid value will fall back to \"Default\".\n\nAvailable game templates are:\n- \"Default\"\n- \"BlackAndWhite\"\n- \"Mediterranean\"\n- \"EastWind\"\n- \"RealIsBrown\"","types":["String"],"since":null,"text":"template: String - (Optional, default \"Default\") the template name. An invalid value will fall back to \"Default\".\n\nAvailable game templates are:\n- \"Default\"\n- \"BlackAndWhite\"\n- \"Mediterranean\"\n- \"EastWind\"\n- \"RealIsBrown\""},{"name":"transition","type":"Number","optional":true,"default":"0","description":"time to apply the post-process","types":["Number"],"since":null,"text":"transition: Number - (Optional, default 0) time to apply the post-process"},{"name":"global","type":"Boolean","optional":true,"default":"isMultiplayer","description":"should the post-process be broadcast over the network","types":["Boolean"],"since":null,"text":"global: Boolean - (Optional, default isMultiplayer) should the post-process be broadcast over the network"}],"returns":{"type":"Boolean","types":["Boolean"],"description":"true when done","text":"Boolean - true when done"}}],"examples":[{"text":"```sqf\n[\"Mediterranean\", 3, false] call BIS_fnc_setPPeffectTemplate;\n```","code":["[\"Mediterranean\", 3, false] call BIS_fnc_setPPeffectTemplate;"]},{"text":"```sqf\n\"RealIsBrown\" call BIS_fnc_setPPeffectTemplate;\n```","code":["\"RealIsBrown\" call BIS_fnc_setPPeffectTemplate;"]},{"text":"```sqf\n\"MyPurplePP\" call BIS_fnc_setPPeffectTemplate; // can use a template defined in Description.ext\n```","code":["\"MyPurplePP\" call BIS_fnc_setPPeffectTemplate; // can use a template defined in Description.ext"]}],"multiplayer":null,"problems":null,"aliases":[],"see_also":["Post Process Effects","ppEffectCreate","ppEffectForceInNVG","ppEffectEnable","ppEffectEnabled","ppEffectDestroy","ppEffectCommit","ppEffectCommitted","ppEffectAdjust"],"notes":[],"categories":["Arma 3: Functions","Arma 3: New Functions","Function Group: Systems","Functions","Introduced with Arma 3 version 1.00"],"docblock":null,"filled_from_docblock":[]}