ppEffectEnabled: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
No edit summary
m (Some wiki formatting)
Line 1: Line 1:
{{RV|type=command
{{RV|type=command


|arma3
|game1= arma3


|1.56
|version1= 1.56


|gr1= Camera Control
|gr1= Camera Control


| Checks whether given post process effect is enabled
|descr= Checks whether given post process effect is enabled


| '''ppEffectEnabled''' effect
|s1= [[ppEffectEnabled]] effect


|p1= effect: [[Number]] - effect handle
|p1= effect: [[Number]] - effect handle


| [[Boolean]]
|r1= [[Boolean]]


| s2='''ppEffectEnabled''' effect       (Since Arma 3 v2.03.147162)
| s2= [[ppEffectEnabled]] effect {{Since|arma3|2.03.147162|y}}


|p21= effect: [[String]] - effect name
|p21= effect: [[String]] - effect name
Line 24: Line 24:
|x2= <code>_enabled = [[ppEffectEnabled]] "DynamicBlur";</code>
|x2= <code>_enabled = [[ppEffectEnabled]] "DynamicBlur";</code>


| [[Post process effects]], [[ppEffectForceInNVG]], [[ppEffectDestroy]], [[ppEffectEnable]], [[ppEffectCreate]], [[ppEffectCommit]], [[ppEffectCommitted]], [[ppEffectAdjust]]
|seealso= [[Post process effects]], [[ppEffectForceInNVG]], [[ppEffectDestroy]], [[ppEffectEnable]], [[ppEffectCreate]], [[ppEffectCommit]], [[ppEffectCommitted]], [[ppEffectAdjust]]
 
|
}}
}}
{{GameCategory|arma3|New Scripting Commands}}
{{GameCategory|arma3|Scripting Commands}}
[[Category:Scripting Commands|{{uc:{{PAGENAME}}}}]]

Revision as of 01:45, 31 January 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