ppEffectCommitted: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "_{10,} " to "")
m (Text replacement - " *\| *([Cc]omments|COMMENTS|Game|[Gg]ame [Nn]ame|Game [Vv]ersion|Game Version \(number surrounded by NO SPACES\)|Multiplayer Arguments( \("local" or "global"\))?|Effects|Multiplayer Effects( \("local" or "global"\))?|Multiplayer Exe...)
Line 1: Line 1:
{{Command|Comments=
{{Command


| arma2 |Game name=
| arma2


|1.00|Game version=
|1.00


|gr1= Camera Control |GROUP1=
|gr1= Camera Control


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


| '''ppEffectCommitted''' effect |SYNTAX=
| '''ppEffectCommitted''' effect


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


| [[Boolean]] |RETURNVALUE=
| [[Boolean]]


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


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


|r2= [[Boolean]] |RETURNVALUE2=
|r2= [[Boolean]]


|x1= <code>[[ppEffectCommitted]] "colorCorrection";</code>|EXAMPLE1=
|x1= <code>[[ppEffectCommitted]] "colorCorrection";</code>


|x2= <code>[[ppEffectCommitted]] _hndl;</code>|EXAMPLE2=
|x2= <code>[[ppEffectCommitted]] _hndl;</code>


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


| [[Post process effects]], [[ppEffectForceInNVG]], [[ppEffectEnable]], [[ppEffectDestroy]], [[ppEffectCreate]], [[ppEffectCommit]], [[ppEffectAdjust]] |SEEALSO=
| [[Post process effects]], [[ppEffectForceInNVG]], [[ppEffectEnable]], [[ppEffectDestroy]], [[ppEffectCreate]], [[ppEffectCommit]], [[ppEffectAdjust]]


|  |MPBEHAVIOUR=  
|  |MPBEHAVIOUR=  

Revision as of 02:12, 18 January 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

Notes

Bottom Section