ppEffectCommitted: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - " \| ?r2=(.*)\|RETURNVALUE= *" to " |r2=(.*)|RETURNVALUE2=")
m (Fix bad regex effects)
Tag: Undo
Line 12: Line 12:
| '''ppEffectCommitted''' effect |SYNTAX=
| '''ppEffectCommitted''' effect |SYNTAX=


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


|p2= |PARAMETER2=  
| [[Boolean]] |RETURNVALUE=


|p3= |PARAMETER3=  
|s2= '''ppEffectCommitted''' handle |SYNTAX2=


| [[Boolean]] |RETURNVALUE=  
|p21= handle: [[Number]] - effect handle |PARAMETER21=


| s2='''ppEffectCommitted''' effect |SYNTAX2=
|r2= [[Boolean]] |RETURNVALUE2=


|p21= effect: [[Number]] - effect handle |PARAMETER21=
|x1= <code>[[ppEffectCommitted]] "colorCorrection";</code>|EXAMPLE1=


|p22= |PARAMETER2=
|x2= <code>[[ppEffectCommitted]] _hndl;</code>|EXAMPLE2=
 
|p23= |PARAMETER3=
 
|r2=(.*)|RETURNVALUE2=
 
|x1= <code>[[ppEffectCommitted]] "colorCorrection";</code>|EXAMPLE1=
|x2=|EXAMPLE2=
 
|x3= <code>[[if]] ([[ppEffectCommitted]] "colorCorrection") [[then]] {[[hint]] "alteration done !"};</code>|EXAMPLE3=  


|x3= <code>[[if]] ([[ppEffectCommitted]] "colorCorrection") [[then]] { [[hint]] "alteration done !" };</code> |EXAMPLE3=
____________________________________________________________________________________________
____________________________________________________________________________________________


Line 52: Line 44:
<h3 style='display:none'>Bottom Section</h3>
<h3 style='display:none'>Bottom Section</h3>


[[Category:Scripting Commands Arma 2|{{uc:{{PAGENAME}}}}]]
[[Category:Scripting Commands Arma 3|{{uc:{{PAGENAME}}}}]]
[[Category:Scripting Commands Arma 3|{{uc:{{PAGENAME}}}}]]
[[Category:Scripting Commands Take On Helicopters|{{uc:{{PAGENAME}}}}]]
[[Category:Scripting Commands Take On Helicopters|{{uc:{{PAGENAME}}}}]]
[[Category:Scripting Commands|{{uc:{{PAGENAME}}}}]]

Revision as of 22:10, 24 September 2020

Hover & click on the images for description

Description

Description:
Check whether given post process effect is committed
Groups:
Uncategorised

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

Notes

Bottom Section