BIS fnc dirtEffect: Difference between revisions
Jump to navigation
Jump to search
m (Text replacement - "\[\[Category\:Function Group\: Feedback(\|\{\{[a-zA-Z0-9_:]+\}\})?\]\]" to "") |
Lou Montana (talk | contribs) m (Text replacement - "_{10,} " to "") |
||
Line 1: | Line 1: | ||
{{Function|Comments= | {{Function|Comments= | ||
| arma3 |Game name= | | arma3 |Game name= | ||
Line 9: | Line 8: | ||
|eff= local |MP effect= | |eff= local |MP effect= | ||
| Screen dirt (texture) postprocess. | | Screen dirt (texture) postprocess. | ||
Displays dust PP according to damage obtained from near explosion; takes array from "Explosion" event handler. |Description= | Displays dust PP according to damage obtained from near explosion; takes array from "Explosion" event handler. |Description= | ||
| [unit, damage] call [[BIS_fnc_dirtEffect]] |Syntax= | | [unit, damage] call [[BIS_fnc_dirtEffect]] |Syntax= | ||
Line 22: | Line 19: | ||
| [[Nothing]] |Return value= | | [[Nothing]] |Return value= | ||
|x1= <code><nowiki>[</nowiki>[[nil]], 0.5] [[call]] [[BIS_fnc_dirtEffect]];</code> |Example 1= | |x1= <code><nowiki>[</nowiki>[[nil]], 0.5] [[call]] [[BIS_fnc_dirtEffect]];</code> |Example 1= | ||
| [[BIS_fnc_bloodEffect]], [[BIS_fnc_flamesEffect]] |See also= | | [[BIS_fnc_bloodEffect]], [[BIS_fnc_flamesEffect]] |See also= |
Revision as of 23:11, 16 January 2021
Description
- Description:
- Screen dirt (texture) postprocess. Displays dust PP according to damage obtained from near explosion; takes array from "Explosion" event handler.
- Execution:
- call
- Groups:
- Feedback
Syntax
- Syntax:
- [unit, damage] call BIS_fnc_dirtEffect
- Parameters:
- unit: Object - who gets the damage. Useless parameter
- damage: Number - damage given to unit by explosion
- Return Value:
- Nothing
Examples
- Example 1:
[nil, 0.5] call BIS_fnc_dirtEffect;
Additional Information
- See also:
- BIS_fnc_bloodEffectBIS_fnc_flamesEffect
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