BIS fnc dirtEffect: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - "\|gr([0-9]+) = " to "|gr$1= ") |
Lou Montana (talk | contribs) m (Some wiki formatting) |
||
(7 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
{{RV|type=function | {{RV|type=function | ||
| arma3 | |game1= arma3 | ||
|version1= 1.00 | |||
|1.00 | |||
|gr1= Feedback | |gr1= Feedback | ||
Line 9: | Line 8: | ||
|eff= local | |eff= local | ||
| Screen dirt (texture) postprocess. | |descr= 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]] | |s1= [unit, damage] call [[BIS_fnc_dirtEffect]] | ||
|p1= unit: [[Object]] - who gets the damage. ''' | |p1= unit: [[Object]] - who gets the damage. '''Unused and useless parameter''' | ||
|p2= damage: [[Number]] - damage given to unit by explosion | |p2= damage: [[Number]] - damage given to unit by explosion | ||
| [[Nothing]] | |r1= [[Nothing]] | ||
|x1= < | |x1= <sqf>[nil, 0.5] call BIS_fnc_dirtEffect;</sqf> | ||
|seealso= [[BIS_fnc_bloodEffect]] | |seealso= [[BIS_fnc_bloodEffect]] [[BIS_fnc_flamesEffect]] | ||
}} | }} |
Latest revision as of 13:25, 13 July 2022
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. Unused and useless parameter
- damage: Number - damage given to unit by explosion
- Return Value:
- Nothing
Examples
- Example 1:
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