BIS fnc radialRed: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (1 revision)
(Page filling)
Line 8: Line 8:
____________________________________________________________________________________________
____________________________________________________________________________________________


| <pre>/*
| Red radial postprocess (hit damage, fire damage). Parameters are the same as the first four of [[Arma_3:_Event_Handlers#HandleDamage|HandleDamage EH]]. |= Description
File: fn_radialRed.sqf
____________________________________________________________________________________________


Description:
| [victim, bodyPart, damage, shooter] call [[BIS_fnc_radialRed]] |= Syntax
Red radial postprocess (hit damage, fire damage).


Parameter(s):
|p1= victim: [[Object]] - unit who gets damage |= Parameter 1
_this select 0: Object - Unit who gets damage
_this select 1: String - Body part which gets damage
_this select 2: Number - Damage
_this select 3: Object - Shooter - requested only if (_this select 1) is not empty string


Returned value:
|p2= bodyPart: [[String]] - body part which gets damage |= Parameter 2
Note:  
*/
 
</pre><small>''(Placeholder description extracted from the function header by [[BIS_fnc_exportFunctionsToWiki]])''</small> |= Description
____________________________________________________________________________________________


| <!-- [] call [[BIS_fnc_radialRed]]; --> |= Syntax
|p3= damage: [[Number]] - received damage amount |= Parameter 3


|p1= |= Parameter 1
|p4= shooter: [[Object]] - (Optional, default objNull) shooter - requested only if ''bodyPart'' is not empty string |= Parameter 4


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


|x1= <code></code> |=  
|x1= <code>[[player]] [[addEventHandler]] ["HandleDamage", { [[_this]] [[call]] [[BIS_fnc_radialRed]]; }];</code> |= Example 1
____________________________________________________________________________________________
____________________________________________________________________________________________


| |= See also
| [[Arma_3:_Event_Handlers#HandleDamage|HandleDamage EH]] |= See also


}}
}}

Revision as of 22:02, 30 April 2018


Hover & click on the images for description

Description

Description:
Red radial postprocess (hit damage, fire damage). Parameters are the same as the first four of HandleDamage EH.
Execution:
call
Groups:
Uncategorised

Syntax

Syntax:
[victim, bodyPart, damage, shooter] call BIS_fnc_radialRed
Parameters:
victim: Object - unit who gets damage
bodyPart: String - body part which gets damage
damage: Number - received damage amount
shooter: Object - (Optional, default objNull) shooter - requested only if bodyPart is not empty string
Return Value:
Nothing

Examples

Example 1:
player addEventHandler ["HandleDamage", { _this call BIS_fnc_radialRed; }];

Additional Information

See also:
HandleDamage EH

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