ppEffectCommitted: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "\| *((\[\[[a-zA-Z0-9_ |()]+\]\],? ?)+) * \}\}" to "|seealso= $1 }}")
m (formatting)
Line 1: Line 1:
{{RV|type=command
{{RV|type=command


| arma2
|game1= arma2


|1.00
|version1= 1.00
 
|game2= arma2oa
 
|version2= 1.51
 
|game3= tkoh
 
|version3= 1.00
 
|game4= arma3
 
|version4= 0.50


|gr1= Camera Control
|gr1= Camera Control


| Check whether given [[Post process effects|post process effect]] is committed
|descr= Check whether given [[Post process effects|post process effect]] is committed.


| '''ppEffectCommitted''' effect
|s1= '''ppEffectCommitted''' effect


|p1= effect: [[String]] - effect name
|p1= effect: [[String]] - Effect name


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


|s2= '''ppEffectCommitted''' handle
|s2= '''ppEffectCommitted''' handle


|p21= handle: [[Number]] - effect handle
|p21= handle: [[Number]] - Effect handle


|r2= [[Boolean]]
|r2= [[Boolean]]
Line 29: Line 41:
|seealso= [[Post process effects]], [[ppEffectForceInNVG]], [[ppEffectEnable]], [[ppEffectDestroy]], [[ppEffectCreate]], [[ppEffectCommit]], [[ppEffectAdjust]]
|seealso= [[Post process effects]], [[ppEffectForceInNVG]], [[ppEffectEnable]], [[ppEffectDestroy]], [[ppEffectCreate]], [[ppEffectCommit]], [[ppEffectAdjust]]
}}
}}
{{GameCategory|arma3|Scripting Commands}}
{{GameCategory|tkoh|Scripting Commands}}

Revision as of 14:37, 26 March 2021

Hover & click on the images for description

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 effectsppEffectForceInNVGppEffectEnableppEffectDestroyppEffectCreateppEffectCommitppEffectAdjust

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