BIS fnc radialRed: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - " <h3 style="display:none">Notes</h3> <dl class="command_description"> <!-- Note Section BEGIN --> <!-- Note Section END --> </dl> " to "")
m (Text replacement - "<code>([^<]+)<\/code>" to "<sqf>$1</sqf>")
 
(16 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{Function|Comments=
{{RV|type=function


| arma3 |Game name=
|game1= arma3
|version1= 1.00


|1.00|Game version=
|gr1= Feedback


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


| Red radial postprocess (hit damage, fire damage). Parameters are the same as the first four of [[Arma_3:_Event_Handlers#HandleDamage|HandleDamage EH]]. |DESCRIPTION=
|s1= [victim, bodyPart, damage, shooter] call [[BIS_fnc_radialRed]]


| [victim, bodyPart, damage, shooter] call [[BIS_fnc_radialRed]] |SYNTAX=
|p1= victim: [[Object]] - unit who gets damage


|p1= victim: [[Object]] - unit who gets damage |PARAMETER1=
|p2= bodyPart: [[String]] - body part which gets damage


|p2= bodyPart: [[String]] - body part which gets damage |PARAMETER2=
|p3= damage: [[Number]] - received damage amount


|p3= damage: [[Number]] - received damage amount |PARAMETER3=
|p4= shooter: [[Object]] - (Optional, default objNull) requested only if ''bodyPart'' is not empty string


|p4= shooter: [[Object]] - (Optional, default objNull) shooter - requested only if ''bodyPart'' is not empty string |PARAMETER4=
|r1= [[Nothing]]


| [[Nothing]] |RETURNVALUE=
|x1= <sqf>player addEventHandler ["HandleDamage", { _this call BIS_fnc_radialRed; }];</sqf>
 
|x1= <code>[[player]] [[addEventHandler]] ["HandleDamage", { [[_this]] [[call]] [[BIS_fnc_radialRed]]; }];</code> |EXAMPLE1=
 
| [[Arma_3:_Event_Handlers#HandleDamage|HandleDamage EH]], [[BIS_fnc_radialRedOut]] |SEEALSO=


|seealso= [[Arma_3:_Event_Handlers#HandleDamage|HandleDamage EH]] [[BIS_fnc_radialRedOut]]
}}
}}
<h3 style="display:none">Bottom Section</h3>
[[Category:Functions|{{uc:radialRed}}]]
[[Category:{{Name|arma3}}: Functions|{{uc:radialRed}}]]

Latest revision as of 17: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