ppEffectEnabled: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) |
Lou Montana (talk | contribs) m (Text replacement - "<code>_([a-zA-Z0-9_]+) = \[\[([a-zA-Z0-9]+)\]\] _([a-zA-Z0-9_]+);?<\/code>" to "<sqf>_$1 = $2 _$3;</sqf>") |
||
Line 22: | Line 22: | ||
|r2= [[Boolean]] | |r2= [[Boolean]] | ||
|x1= < | |x1= <sqf>_enabled = ppEffectEnabled _hndl;</sqf> | ||
|x2= <code>_enabled = [[ppEffectEnabled]] "DynamicBlur";</code> | |x2= <code>_enabled = [[ppEffectEnabled]] "DynamicBlur";</code> | ||
|seealso= [[Post process effects]] [[ppEffectForceInNVG]] [[ppEffectDestroy]] [[ppEffectEnable]] [[ppEffectCreate]] [[ppEffectCommit]] [[ppEffectCommitted]] [[ppEffectAdjust]] | |seealso= [[Post process effects]] [[ppEffectForceInNVG]] [[ppEffectDestroy]] [[ppEffectEnable]] [[ppEffectCreate]] [[ppEffectCommit]] [[ppEffectCommitted]] [[ppEffectAdjust]] | ||
}} | }} |
Revision as of 21:23, 7 May 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:
_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