ppEffectCreate: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Added to "see also" and <pre> to <code>)
m (format)
Line 21: Line 21:
____________________________________________________________________________________________
____________________________________________________________________________________________


| '''ppEffectCreate''' effect |= Syntax
| '''ppEffectCreate''' [name, priority] |= Syntax


|p1= effect: [name, priority] |= PARAMETER1  
|p1= name: [[String]] - name of effect type.  |= PARAMETER1


|p2= name: [[String]] - name of effect type.  |= PARAMETER2
|p2= priority: [[Number]] - unique priority |= PARAMETER2
 
|p3= priority: [[Number]] - unique priority |= PARAMETER3


| [[Number]] - handle |= RETURNVALUE  
| [[Number]] - handle |= RETURNVALUE  

Revision as of 21:00, 15 June 2015

Hover & click on the images for description

Description

Description:
Create Post process effects specified by effect name and priority. See class CfgOpticsEffect for examples using:
  • "radialBlur"
  • "chromAberration"
  • "wetDistortion"
  • "colorCorrections"
  • "dynamicBlur"
  • "filmGrain"
  • "colorInversion"
Groups:
Uncategorised

Syntax

Syntax:
ppEffectCreate [name, priority]
Parameters:
name: String - name of effect type.
priority: Number - unique priority
Return Value:
Number - handle

Examples

Example 1:
_ppGrain = ppEffectCreate ["filmGrain", 2005];

Additional Information

See also:
Post process effectsppEffectForceInNVGppEffectEnableppEffectDestroyppEffectCommitppEffectCommittedppEffectAdjust

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

For some examples, check this topic - Lou Montana

Bottom Section