BIS fnc setPPeffectTemplate: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - " +" to " ") |
Lou Montana (talk | contribs) m (Text replacement - " \| *(\[[^ ]+\] (call|spawn) ('''|\[\[)BI(N|S)_fnc_[a-zA-Z0-9_]+('''|\]\]));? \| *p1 *=" to " |s1=$1 |p1=") |
||
Line 9: | Line 9: | ||
| Apply post-process effects according to template from [[Description.ext#CfgPostprocessTemplates|CfgPostprocessTemplates]]. | | Apply post-process effects according to template from [[Description.ext#CfgPostprocessTemplates|CfgPostprocessTemplates]]. | ||
| [template, transition, global] call [[BIS_fnc_setPPeffectTemplate]] | |s1=[template, transition, global] call [[BIS_fnc_setPPeffectTemplate]] | ||
|p1= template: [[String]] - (Optional, default "Default") the template name. An invalid value will fall back to "Default".<br> | |p1= template: [[String]] - (Optional, default "Default") the template name. An invalid value will fall back to "Default".<br> |
Revision as of 19:30, 12 June 2021
Description
- Description:
- Description needed
- Execution:
- call
- Groups:
- Systems
Syntax
- Syntax:
- [template, transition, global] call BIS_fnc_setPPeffectTemplate
- Parameters:
- template: String - (Optional, default "Default") the template name. An invalid value will fall back to "Default".
Available game templates are:- "Default"
- "BlackAndWhite"
- "Mediterranean"
- "EastWind"
- "RealIsBrown"
- transition: Number - (Optional, default 0) time to apply the post-process
- global: Boolean - (Optional, default true in MP, false in SP) should the post-process be broadcast over the network
- Return Value:
- Boolean - true when done
Examples
- Example 1:
["Mediterranean", 3, false] call BIS_fnc_setPPeffectTemplate;
- Example 2:
"RealIsBrown" call BIS_fnc_setPPeffectTemplate;
- Example 3:
"MyPurplePP" call BIS_fnc_setPPeffectTemplate; // can use a template defined in Description.ext
Additional Information
- See also:
- Post process effectsppEffectCreateppEffectForceInNVGppEffectEnableppEffectEnabledppEffectDestroyppEffectCommitppEffectCommittedppEffectAdjust
Notes
-
Report bugs on the Feedback Tracker and/or discuss them on the Arma Discord or on the Forums.
Only post proven facts here! Add Note