BIS fnc dirtEffect: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "\[\[Category\:Function Group\: Feedback(\|\{\{[a-zA-Z0-9_:]+\}\})?\]\]" to "")
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 00:11, 17 January 2021

Hover & click on the images for description

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

Notes

Bottom Section