{"name":"BIS_fnc_setPPeffectTemplate","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","games":{"arma3":"1.00"},"since":"arma3 1.00","arma3_since":"1.00","description":"Apply post-process effects according to template from CfgPostprocessTemplates.","syntaxes":[{"syntax":"[template, transition, global] call BIS_fnc_setPPeffectTemplate","params":[{"name":"template","type":"String","optional":true,"default":"\"Default\"","description":"the template name. An invalid value will fall back to \"Default\".\nAvailable game templates are:\n\n- \"Default\"\n- \"BlackAndWhite\"\n- \"Mediterranean\"\n- \"EastWind\"\n- \"RealIsBrown\"","type_expr":"String","text":"template: String - (Optional, default \"Default\") the template name. An invalid value will fall back to \"Default\".\nAvailable game templates are:\n\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","type_expr":"Number","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","type_expr":"Boolean","text":"global: Boolean - (Optional, default isMultiplayer) should the post-process be broadcast over the network"}],"returns":{"type":"Boolean","type_expr":"Boolean","description":"true when done"}}],"examples":[{"code":["[\"Mediterranean\", 3, false] call BIS_fnc_setPPeffectTemplate;"]},{"code":["\"RealIsBrown\" call BIS_fnc_setPPeffectTemplate;"]},{"code":["\"MyPurplePP\" call BIS_fnc_setPPeffectTemplate; // can use a template defined in Description.ext"]}],"see_also":["Post Process Effects","ppEffectCreate","ppEffectForceInNVG","ppEffectEnable","ppEffectEnabled","ppEffectDestroy","ppEffectCommit","ppEffectCommitted","ppEffectAdjust"]}