BIS fnc dirtEffect: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (1 revision)
(Page filling)
Line 1: Line 1:
{{Function|Comments=
____________________________________________________________________________________________


{{Function|= Comments
| arma3 |Game name=
____________________________________________________________________________________________


| arma3 |= Game name
|1.00|Game version=


|1.00|= Game version
|eff= local |MP effect=
____________________________________________________________________________________________
____________________________________________________________________________________________


| <pre>/*
| Screen dirt (texture) postprocess.  
File: fn_dirtEffect.sqf
Displays dust PP according to damage obtained from near explosion; takes array from "Explosion" event handler. |Description=
 
____________________________________________________________________________________________
Description:
Dirt (texture) postprocess.


Parameter(s):
| [unit, damage] call [[BIS_fnc_dirtEffect]] |Syntax=
_this select 0: Object - Unit who gets the damage.
_this select 1: Number - Damage given unit by explosion.
Returned value:
None.
*/


//TEST
|p1= unit: [[Object]] - who gets the damage. '''Useless parameter''' |Parameter 1=
// hint format ["Hit by: %1", BIS_hitArray select 4];


//Script displays dust PP according to damage obtained from near explosion
|p2= damage: [[Number]] - damage given to unit by explosion |Parameter 2=
//takes array from "Explosion" event handler, that is registered in FSM PP


</pre><small>''(Placeholder description extracted from the function header by [[BIS_fnc_exportFunctionsToWiki]])''</small> |= Description
| [[Nothing]] |Return value=
____________________________________________________________________________________________
____________________________________________________________________________________________


| <!-- [] call [[BIS_fnc_dirtEffect]]; --> |= Syntax
|x1= <code><nowiki>[</nowiki>[[nil]], 0.5] [[call]] [[BIS_fnc_dirtEffect]];</code> |Example 1=
 
|p1= |= Parameter 1
 
| |= Return value
____________________________________________________________________________________________
____________________________________________________________________________________________


|x1= <code></code> |=
| [[BIS_fnc_bloodEffect]], [[BIS_fnc_flamesEffect]] |See also=
____________________________________________________________________________________________
 
| |= See also
 
}}
}}


Line 53: Line 36:


<h3 style="display:none">Bottom Section</h3>
<h3 style="display:none">Bottom Section</h3>
[[Category:Functions|{{uc:dirtEffect}}]]
[[Category:Function Group: Feedback|{{uc:dirtEffect}}]]
[[Category:Function Group: Feedback|{{uc:dirtEffect}}]]
[[Category:Functions|{{uc:dirtEffect}}]]
[[Category:{{Name|arma3}}: Functions|{{uc:dirtEffect}}]]
[[Category:{{Name|arma3}}: Functions|{{uc:dirtEffect}}]]

Revision as of 09:41, 6 June 2018

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

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