ppEffectCommitted: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - "<code>\[\[([a-zA-Z0-9_]+)\]\] ([a-zA-Z0-9_]+);?<\/code>" to "<sqf>$1 $2;</sqf>") |
Lou Montana (talk | contribs) m (Text replacement - "<code>([^ ]*)\[\[([a-zA-Z][a-zA-Z0-9_]+)\]\]([^ ]*)<\/code>" to "<code>$1$2$3</code>") |
||
Line 29: | Line 29: | ||
|r2= [[Boolean]] | |r2= [[Boolean]] | ||
|x1= <code> | |x1= <code>ppEffectCommitted "colorCorrection";</code> | ||
|x2= <sqf>ppEffectCommitted _hndl;</sqf> | |x2= <sqf>ppEffectCommitted _hndl;</sqf> | ||
|x3= <code> | |x3= <code>if ([[ppEffectCommitted]] "colorCorrection") [[then]] { [[hint]] "alteration done !" };</code> | ||
|seealso= [[Post process effects]] [[ppEffectForceInNVG]] [[ppEffectEnable]] [[ppEffectDestroy]] [[ppEffectCreate]] [[ppEffectCommit]] [[ppEffectAdjust]] | |seealso= [[Post process effects]] [[ppEffectForceInNVG]] [[ppEffectEnable]] [[ppEffectDestroy]] [[ppEffectCreate]] [[ppEffectCommit]] [[ppEffectAdjust]] | ||
}} | }} |
Revision as of 11:12, 12 May 2022
Description
- Description:
- Check whether given post process effect is committed.
- Groups:
- Camera Control
Syntax
- Syntax:
- ppEffectCommitted effect
- Parameters:
- effect: String - Effect name
- Return Value:
- Boolean
Alternative Syntax
- Syntax:
- ppEffectCommitted handle
- Parameters:
- handle: Number - Effect handle
- Return Value:
- Boolean
Examples
- Example 1:
ppEffectCommitted "colorCorrection";
- Example 2:
- ppEffectCommitted _hndl;
- Example 3:
if (ppEffectCommitted "colorCorrection") then { hint "alteration done !" };
Additional Information
- See also:
- Post process effects ppEffectForceInNVG ppEffectEnable ppEffectDestroy ppEffectCreate ppEffectCommit 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