ppEffectEnabled: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "\|game([0-9]) ?= (.+) \|version([0-9]) ?= (.+) " to "|game$1= $2 |version$3= $4 ")
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=")
Line 14: Line 14:
|r1= [[Boolean]]
|r1= [[Boolean]]


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


|p21= effect: [[String]] - effect name
|p21= effect: [[String]] - effect name

Revision as of 23:30, 10 June 2021

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 Template:Since
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 effectsppEffectForceInNVGppEffectDestroyppEffectEnableppEffectCreateppEffectCommitppEffectCommittedppEffectAdjust

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