BIS fnc dirtEffect: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "\|seealso= ?\[\[([^ ]+)\]\], *\[\[([^ ]+)\]\]" to "|seealso= $1 $2")
m (Text replacement - " |s1=[" to " |s1= [")
Line 11: Line 11:
Displays dust PP according to damage obtained from near explosion; takes array from "Explosion" event handler.
Displays dust PP according to damage obtained from near explosion; takes array from "Explosion" event handler.


|s1=[unit, damage] call [[BIS_fnc_dirtEffect]]
|s1= [unit, damage] call [[BIS_fnc_dirtEffect]]


|p1= unit: [[Object]] - who gets the damage. '''Useless parameter'''
|p1= unit: [[Object]] - who gets the damage. '''Useless parameter'''

Revision as of 23:11, 12 July 2022

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_bloodEffect BIS_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