BIS fnc dirtEffect: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - " <h3 style="display:none">Notes</h3> <dl class="command_description"> <!-- Note Section BEGIN --> <!-- Note Section END --> </dl>" to "") |
Lou Montana (talk | contribs) 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 | {{Function | ||
| arma3 | | arma3 | ||
|1.00 | |1.00 | ||
|gr1 = Feedback | |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. | Displays dust PP according to damage obtained from near explosion; takes array from "Explosion" event handler. | ||
| [unit, damage] call [[BIS_fnc_dirtEffect]] | | [unit, damage] call [[BIS_fnc_dirtEffect]] | ||
|p1= unit: [[Object]] - who gets the damage. '''Useless parameter''' | |p1= unit: [[Object]] - who gets the damage. '''Useless parameter''' | ||
|p2= damage: [[Number]] - damage given to unit by explosion | |p2= damage: [[Number]] - damage given to unit by explosion | ||
| [[Nothing]] | | [[Nothing]] | ||
|x1= <code><nowiki>[</nowiki>[[nil]], 0.5] [[call]] [[BIS_fnc_dirtEffect]];</code> | |x1= <code><nowiki>[</nowiki>[[nil]], 0.5] [[call]] [[BIS_fnc_dirtEffect]];</code> | ||
| [[BIS_fnc_bloodEffect]], [[BIS_fnc_flamesEffect]] | | [[BIS_fnc_bloodEffect]], [[BIS_fnc_flamesEffect]] | ||
}} | }} | ||
Revision as of 23:01, 17 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