ppEffectEnabled: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - " \| +(x[0-9]|p[0-9]{1,2}|descr|game[0-9]|version[0-9]|s[0-9]|exec|r[0-9]|arg|eff|branch|serverExec|gr[0-9]|mp|pr|seealso) *=" to " |$1=")
m (Text replacement - "Post process effects" to "Post Process Effects")
 
(13 intermediate revisions by the same user not shown)
Line 14: Line 14:
|r1= [[Boolean]]
|r1= [[Boolean]]


|s2= [[ppEffectEnabled]] effect {{Since|arma3|2.03.147162|y}}
|s2= [[ppEffectEnabled]] effect
 
|s2since= arma3 2.04


|p21= effect: [[String]] - effect name
|p21= effect: [[String]] - effect name
Line 20: Line 22:
|r2= [[Boolean]]
|r2= [[Boolean]]


|x1= <code>_enabled = [[ppEffectEnabled]] _hndl;</code>
|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]]
}}
}}

Latest revision as of 23:24, 12 July 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