BIS fnc radialRed: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Generated by BIS_fnc_exportFunctionsToWiki)
 
m (Text replacement - "<code>([^<]+)<\/code>" to "<sqf>$1</sqf>")
 
(28 intermediate revisions by 4 users not shown)
Line 1: Line 1:
{{RV|type=function


{{Function|= Comments
|game1= arma3
____________________________________________________________________________________________
|version1= 1.00


| arma3 |= Game name
|gr1= Feedback


|1.00|= Game version
|descr= Red radial postprocess (hit damage, fire damage). Parameters are the same as the first four of [[Arma_3:_Event_Handlers#HandleDamage|HandleDamage EH]].
____________________________________________________________________________________________


| <pre>/*
|s1= [victim, bodyPart, damage, shooter] call [[BIS_fnc_radialRed]]
File: fn_radialRed.sqf


Description:
|p1= victim: [[Object]] - unit who gets damage
Red radial postprocess (hit damage, fire damage).


Parameter(s):
|p2= bodyPart: [[String]] - body part which gets damage
_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:
|p3= damage: [[Number]] - received damage amount
Note:
*/


</pre><small>''(Placeholder description extracted from the function header by [[BIS_fnc_exportFunctionsToWiki]])''</small> |= Description
|p4= shooter: [[Object]] - (Optional, default objNull) requested only if ''bodyPart'' is not empty string
____________________________________________________________________________________________


| <!-- [] call [[BIS_fnc_radialRed]]; --> |= Syntax
|r1= [[Nothing]]


|p1= |= Parameter 1
|x1= <sqf>player addEventHandler ["HandleDamage", { _this call BIS_fnc_radialRed; }];</sqf>
 
| |= Return value
____________________________________________________________________________________________
 
|x1= <code></code> |=
____________________________________________________________________________________________
 
| |= See also


|seealso= [[Arma_3:_Event_Handlers#HandleDamage|HandleDamage EH]] [[BIS_fnc_radialRedOut]]
}}
}}
<h3 style="display:none">Notes</h3>
<dl class="command_description">
<!-- Note Section BEGIN -->
<!-- Note Section END -->
</dl>
<h3 style="display:none">Bottom Section</h3>
[[Category:Function Group: Feedback|{{uc:radialRed}}]]
[[Category:Functions|{{uc:radialRed}}]]
[[Category:{{Name|arma3}}: Functions|{{uc:radialRed}}]]

Latest revision as of 18:11, 13 July 2022

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

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

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