ppEffectCreate: Difference between revisions
Jump to navigation
Jump to search
mNo edit summary |
Dr Eyeball (talk | contribs) (effect names, params, return type, example) |
||
Line 7: | Line 7: | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
| Create post process effect specified by name and priority |= Description | | Create post process effect specified by effect name and priority. | ||
See class CfgOpticsEffect for examples using: | |||
* "chromAberration" | |||
* "colorCorrections" | |||
* "colorInversion" | |||
* "dynamicBlur" | |||
* "filmGrain" | |||
|= Description | |||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
| '''ppEffectCreate''' effect |= Syntax | | '''ppEffectCreate''' effect |= Syntax | ||
|p1= effect: [ | |p1= effect: [name, priority] |= PARAMETER1 | ||
|p2= |= PARAMETER2 | |p2= name: [[String]] - name of effect type. |= PARAMETER2 | ||
|p3= |= PARAMETER3 | |p3= priority: [[Number]] - unique priority |= PARAMETER3 | ||
| [[ | | [[Number]] - handle |= RETURNVALUE | ||
____________________________________________________________________________________________ | |||
|x1= < | |x1= <pre>_ppGrain = ppEffectCreate ["filmGrain", 2005];</pre>|= EXAMPLE1 | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ |
Revision as of 09:44, 29 July 2009
Description
- Description:
- Create post process effect specified by effect name and priority.
See class CfgOpticsEffect for examples using:
- "chromAberration"
- "colorCorrections"
- "colorInversion"
- "dynamicBlur"
- "filmGrain"
- Groups:
- Uncategorised
Syntax
- Syntax:
- ppEffectCreate effect
- Parameters:
- effect: [name, priority]
- name: String - name of effect type.
- priority: Number - unique priority
- Return Value:
- Number - handle
Examples
- Example 1:
_ppGrain = ppEffectCreate ["filmGrain", 2005];
Additional Information
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