ppEffectEnabled: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
(Created page with "{{Command|= Comments ____________________________________________________________________________________________ | arma3dev |= Game name |1.55|= Game version ______________...")
 
m (Text replacement - "Post process effects" to "Post Process Effects")
 
(35 intermediate revisions by 5 users not shown)
Line 1: Line 1:
{{Command|= Comments
{{RV|type=command
____________________________________________________________________________________________


| arma3dev |= Game name
|game1= arma3
|version1= 1.56


|1.55|= Game version
|gr1= Camera Control
____________________________________________________________________________________________


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


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


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


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


|x1= <code>_enabled = [[ppEffectEnabled]] _hndl;</code>|= EXAMPLE1
|s2= [[ppEffectEnabled]] effect


____________________________________________________________________________________________
|s2since= arma3 2.04


| [[Post process effects]], [[ppEffectForceInNVG]], [[ppEffectDestroy]], [[ppEffectCreate]], [[ppEffectCommit]], [[ppEffectCommitted]], [[ppEffectAdjust]] |= SEEALSO
|p21= effect: [[String]] - effect name


| |= MPBEHAVIOUR
|r2= [[Boolean]]
____________________________________________________________________________________________
}}


<h3 style='display:none'>Notes</h3>
|x1= <sqf>_enabled = ppEffectEnabled _hndl;</sqf>
<dl class='command_description'>
|x2= <sqf>_enabled = ppEffectEnabled "DynamicBlur";</sqf>
<!-- Note Section BEGIN -->


<!-- Note Section END -->
|seealso= [[Post Process Effects]] [[ppEffectForceInNVG]] [[ppEffectDestroy]] [[ppEffectEnable]] [[ppEffectCreate]] [[ppEffectCommit]] [[ppEffectCommitted]] [[ppEffectAdjust]]
</dl>
}}
 
<h3 style='display:none'>Bottom Section</h3>
[[Category:Arma_3:_New_Scripting_Commands_List|{{uc:{{PAGENAME}}}}]]
[[Category:Scripting Commands Arma 3|{{uc:{{PAGENAME}}}}]]
[[Category:Scripting Commands|{{uc:{{PAGENAME}}}}]]

Latest revision as of 00:24, 13 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