BIS fnc radialRed: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (see also)
m (template:command argument fix)
Line 8: Line 8:
____________________________________________________________________________________________
____________________________________________________________________________________________


| 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=


|p1= victim: [[Object]] - unit who gets damage |= Parameter 1
|p1= victim: [[Object]] - unit who gets damage |PARAMETER1=


|p2= bodyPart: [[String]] - body part which gets damage |= Parameter 2
|p2= bodyPart: [[String]] - body part which gets damage |PARAMETER2=


|p3= damage: [[Number]] - received damage amount |= Parameter 3
|p3= damage: [[Number]] - received damage amount |PARAMETER3=


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


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


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


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


}}
}}

Revision as of 15:32, 7 April 2019


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