BIS fnc radialRed: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "\[\[Category\:Function Group\: Feedback(\|\{\{[a-zA-Z0-9_:]+\}\})?\]\]" to "")
m (Text replacement - "_{10,} " to "")
Line 1: Line 1:
{{Function|Comments=
{{Function|Comments=
____________________________________________________________________________________________


| arma3 |Game name=
| arma3 |Game name=
Line 7: Line 6:


|gr1 = Feedback |GROUP1=
|gr1 = Feedback |GROUP1=
____________________________________________________________________________________________


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


| [victim, bodyPart, damage, shooter] call [[BIS_fnc_radialRed]] |SYNTAX=
| [victim, bodyPart, damage, shooter] call [[BIS_fnc_radialRed]] |SYNTAX=
Line 23: Line 20:


| [[Nothing]] |RETURNVALUE=
| [[Nothing]] |RETURNVALUE=
____________________________________________________________________________________________


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


| [[Arma_3:_Event_Handlers#HandleDamage|HandleDamage EH]], [[BIS_fnc_radialRedOut]] |SEEALSO=
| [[Arma_3:_Event_Handlers#HandleDamage|HandleDamage EH]], [[BIS_fnc_radialRedOut]] |SEEALSO=

Revision as of 23:46, 16 January 2021

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

Notes

Bottom Section