BIS fnc radialRed: Difference between revisions
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]]. |= | | 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]] |= | | [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) shooter - requested only if ''bodyPart'' is not empty string |= | |p4= shooter: [[Object]] - (Optional, default objNull) shooter - requested only if ''bodyPart'' is not empty string |PARAMETER4= | ||
| [[Nothing]] |= | | [[Nothing]] |RETURNVALUE= | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
|x1= <code>[[player]] [[addEventHandler]] ["HandleDamage", { [[_this]] [[call]] [[BIS_fnc_radialRed]]; }];</code> |= | |x1= <code>[[player]] [[addEventHandler]] ["HandleDamage", { [[_this]] [[call]] [[BIS_fnc_radialRed]]; }];</code> |EXAMPLE1= | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
| [[Arma_3:_Event_Handlers#HandleDamage|HandleDamage EH]], [[BIS_fnc_radialRedOut]] |= | | [[Arma_3:_Event_Handlers#HandleDamage|HandleDamage EH]], [[BIS_fnc_radialRedOut]] |SEEALSO= | ||
}} | }} |
Revision as of 14:32, 7 April 2019
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