BIS fnc radialRed: Difference between revisions
Jump to navigation
Jump to search
m (1 revision) |
Lou Montana (talk | contribs) (Page filling) |
||
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 | ||
____________________________________________________________________________________________ | |||
| [victim, bodyPart, damage, shooter] call [[BIS_fnc_radialRed]] |= Syntax | |||
|p1= victim: [[Object]] - unit who gets damage |= Parameter 1 | |||
|p2= bodyPart: [[String]] - body part which gets damage |= Parameter 2 | |||
| | |p3= damage: [[Number]] - received damage amount |= Parameter 3 | ||
| | |p4= shooter: [[Object]] - (Optional, default objNull) shooter - requested only if ''bodyPart'' is not empty string |= Parameter 4 | ||
| |= Return value | | [[Nothing]] |= Return value | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
|x1= <code></code> |= | |x1= <code>[[player]] [[addEventHandler]] ["HandleDamage", { [[_this]] [[call]] [[BIS_fnc_radialRed]]; }];</code> |= Example 1 | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
| |= See also | | [[Arma_3:_Event_Handlers#HandleDamage|HandleDamage EH]] |= See also | ||
}} | }} |
Revision as of 21:02, 30 April 2018
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 EH
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