ppEffectEnabled: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "<code>([^ ]*)\[\[([a-zA-Z][a-zA-Z0-9_]+)\]\]([^ ]*)<\/code>" to "<code>$1$2$3</code>")
m (Text replacement - "\|x([0-9])= *<code>([^<]*)<\/code>" to "|x$1= <sqf>$2</sqf>")
Line 23: Line 23:


|x1= <sqf>_enabled = ppEffectEnabled _hndl;</sqf>
|x1= <sqf>_enabled = ppEffectEnabled _hndl;</sqf>
|x2= <code>_enabled = ppEffectEnabled "DynamicBlur";</code>
|x2= <sqf>_enabled = ppEffectEnabled "DynamicBlur";</sqf>


|seealso= [[Post process effects]] [[ppEffectForceInNVG]] [[ppEffectDestroy]] [[ppEffectEnable]] [[ppEffectCreate]] [[ppEffectCommit]] [[ppEffectCommitted]] [[ppEffectAdjust]]
|seealso= [[Post process effects]] [[ppEffectForceInNVG]] [[ppEffectDestroy]] [[ppEffectEnable]] [[ppEffectCreate]] [[ppEffectCommit]] [[ppEffectCommitted]] [[ppEffectAdjust]]
}}
}}

Revision as of 10:23, 13 May 2022

Hover & click on the images for description

Description

Description:
Checks whether given post process effect is enabled
Groups:
Camera Control

Syntax

Syntax:
ppEffectEnabled effect
Parameters:
effect: Number - effect handle
Return Value:
Boolean

Alternative Syntax

Syntax:
ppEffectEnabled effect
Parameters:
effect: String - effect name
Return Value:
Boolean

Examples

Example 1:
_enabled = ppEffectEnabled _hndl;
Example 2:
_enabled = ppEffectEnabled "DynamicBlur";

Additional Information

See also:
Post process effects ppEffectForceInNVG ppEffectDestroy ppEffectEnable ppEffectCreate 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