ppEffectEnabled: Difference between revisions
Jump to navigation
Jump to search
Killzone Kid (talk | contribs) No edit summary |
Lou Montana (talk | contribs) m (Text replacement - "Post process effects" to "Post Process Effects") |
||
(16 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
{{RV|type=command | {{RV|type=command | ||
|arma3 | |game1= arma3 | ||
|version1= 1.56 | |||
|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 | ||
| | |s1= [[ppEffectEnabled]] effect | ||
|p1= effect: [[Number]] - effect handle | |p1= effect: [[Number]] - effect handle | ||
| [[Boolean]] | |r1= [[Boolean]] | ||
| s2= | |s2= [[ppEffectEnabled]] effect | ||
|s2since= arma3 2.04 | |||
|p21= effect: [[String]] - effect name | |p21= effect: [[String]] - effect name | ||
Line 21: | Line 22: | ||
|r2= [[Boolean]] | |r2= [[Boolean]] | ||
|x1= < | |x1= <sqf>_enabled = ppEffectEnabled _hndl;</sqf> | ||
|x2= < | |x2= <sqf>_enabled = ppEffectEnabled "DynamicBlur";</sqf> | ||
| [[Post | |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