BIS fnc setPPeffectTemplate: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - " \[\[Category:\{\{Name\|arma3\}\}:[_ ]Functions\|[^ ]+\]\]" to "") |
Lou Montana (talk | contribs) m (Some wiki formatting) |
||
(16 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
{{RV|type=function | {{RV|type=function | ||
| arma3 | |game1= arma3 | ||
|version1= 1.00 | |||
|1.00 | |||
|gr1= Systems | |gr1= Systems | ||
| Apply post-process effects according to template from [[Description.ext#CfgPostprocessTemplates|CfgPostprocessTemplates]]. | |descr= Apply post-process effects according to template from [[Description.ext#CfgPostprocessTemplates|CfgPostprocessTemplates]]. | ||
|s1=[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> | ||
Line 21: | Line 20: | ||
|p2= transition: [[Number]] - (Optional, default 0) time to apply the post-process | |p2= transition: [[Number]] - (Optional, default 0) time to apply the post-process | ||
|p3= global: [[Boolean]] - (Optional, default | |p3= global: [[Boolean]] - (Optional, default [[isMultiplayer]]) should the post-process be broadcast over the network | ||
|r1= [[Boolean]] - true when done | |r1= [[Boolean]] - true when done | ||
|x1= < | |x1= <sqf>["Mediterranean", 3, false] call BIS_fnc_setPPeffectTemplate;</sqf> | ||
|x2= < | |x2= <sqf>"RealIsBrown" call BIS_fnc_setPPeffectTemplate;</sqf> | ||
|x3= < | |x3= <sqf>"MyPurplePP" call BIS_fnc_setPPeffectTemplate; // can use a template defined in Description.ext</sqf> | ||
|seealso= [[Post | |seealso= [[Post Process Effects]] [[ppEffectCreate]] [[ppEffectForceInNVG]] [[ppEffectEnable]] [[ppEffectEnabled]] [[ppEffectDestroy]] [[ppEffectCommit]] [[ppEffectCommitted]] [[ppEffectAdjust]] | ||
}} | }} |
Latest revision as of 23:24, 12 July 2022
Description
- Description:
- Apply post-process effects according to template from CfgPostprocessTemplates.
- 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 isMultiplayer) should the post-process be broadcast over the network
- Return Value:
- Boolean - true when done
Examples
- Example 1:
- Example 2:
- Example 3:
Additional Information
- See also:
- Post Process Effects ppEffectCreate ppEffectForceInNVG ppEffectEnable ppEffectEnabled ppEffectDestroy ppEffectCommit ppEffectCommitted ppEffectAdjust
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