BIS fnc dirtEffect: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - " <h3 style="display:none">Notes</h3> <dl class="command_description"> <!-- Note Section BEGIN --> <!-- Note Section END --> </dl>" to "")
m (Text replacement - " *\| *([Cc]omments|COMMENTS|[Gg]ame [Nn]ame|Game [Vv]ersion|Game Version \(number surrounded by NO SPACES\)|Multiplayer Arguments \("local" or "global"\)|Multiplayer Effects \("local" or "global"\)|Multiplayer Execution \("server" o...)
Line 1: Line 1:
{{Function|Comments=
{{Function


| arma3 |Game name=
| arma3


|1.00|Game version=
|1.00


|gr1 = Feedback |GROUP1=
|gr1 = Feedback


|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.


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


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


|p2= damage: [[Number]] - damage given to unit by explosion |Parameter 2=
|p2= damage: [[Number]] - damage given to unit by explosion


| [[Nothing]] |Return value=
| [[Nothing]]


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


| [[BIS_fnc_bloodEffect]], [[BIS_fnc_flamesEffect]] |See also=
| [[BIS_fnc_bloodEffect]], [[BIS_fnc_flamesEffect]]
}}
}}



Revision as of 23:01, 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


Bottom Section