ppEffectEnabled: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - "\{\{GameCategory\|(arma[0123])\|[ _]?New[ _]Scripting[ _]Commands[ _]List\}\}" to "{{GameCategory|$1|New Scripting Commands}}") |
Lou Montana (talk | contribs) m (Text replacement - "Post process effects" to "Post Process Effects") |
||
(23 intermediate revisions by 3 users not shown) | |||
Line 1: | Line 1: | ||
{{ | {{RV|type=command | ||
|arma3| | |game1= arma3 | ||
|version1= 1.56 | |||
| | |gr1= Camera Control | ||
| | |descr= Checks whether given post process effect is enabled | ||
| | |s1= [[ppEffectEnabled]] effect | ||
| | |p1= effect: [[Number]] - effect handle | ||
| | |r1= [[Boolean]] | ||
| [[ | |s2= [[ppEffectEnabled]] effect | ||
| | |s2since= arma3 2.04 | ||
|p21= effect: [[String]] - effect name | |||
| [[ | |r2= [[Boolean]] | ||
| | |x1= <sqf>_enabled = ppEffectEnabled _hndl;</sqf> | ||
|x2= <sqf>_enabled = ppEffectEnabled "DynamicBlur";</sqf> | |||
|seealso= [[Post Process Effects]] [[ppEffectForceInNVG]] [[ppEffectDestroy]] [[ppEffectEnable]] [[ppEffectCreate]] [[ppEffectCommit]] [[ppEffectCommitted]] [[ppEffectAdjust]] | |||
}} | }} | ||
Latest revision as of 23:24, 12 July 2022
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:
- Example 2:
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