BIS fnc radialRed: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "<code>([^<]*)\[\[([a-zA-Z][a-zA-Z0-9_]+)\]\]([^<]*) *<\/code>" to "<code>$1$2$3</code>")
m (Text replacement - "<code>([^<]+)<\/code>" to "<sqf>$1</sqf>")
 
(3 intermediate revisions by the same user not shown)
Line 20: Line 20:
|r1= [[Nothing]]
|r1= [[Nothing]]


|x1= <code>player addEventHandler ["HandleDamage", { [[Magic Variables#this|_this]] [[call]] [[BIS_fnc_radialRed]]; }];</code>
|x1= <sqf>player addEventHandler ["HandleDamage", { _this call BIS_fnc_radialRed; }];</sqf>


|seealso= [[Arma_3:_Event_Handlers#HandleDamage|HandleDamage EH]] [[BIS_fnc_radialRedOut]]
|seealso= [[Arma_3:_Event_Handlers#HandleDamage|HandleDamage EH]] [[BIS_fnc_radialRedOut]]
}}
}}

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