BIS fnc radialRed: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - " <h3 style="display:none">Notes</h3> <dl class="command_description"> <!-- Note Section BEGIN --> <!-- Note Section END --> </dl> " to "") |
Lou Montana (talk | contribs) m (Text replacement - " *\| *([Cc]omments|COMMENTS|[Gg]ame [Nn]ame|Game [Vv]ersion|Game Version \(number surrounded by NO SPACES\)|Multiplayer Arguments \("local" or "global"\)|Multiplayer Effects \("local" or "global"\)|Multiplayer Execution \("server" o...) |
||
Line 1: | Line 1: | ||
{{Function | {{Function | ||
| arma3 | | arma3 | ||
|1.00 | |1.00 | ||
|gr1 = Feedback | |gr1 = Feedback | ||
| 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]]. | ||
| [victim, bodyPart, damage, shooter] call [[BIS_fnc_radialRed]] | | [victim, bodyPart, damage, shooter] call [[BIS_fnc_radialRed]] | ||
|p1= victim: [[Object]] - unit who gets damage | |p1= victim: [[Object]] - unit who gets damage | ||
|p2= bodyPart: [[String]] - body part which gets damage | |p2= bodyPart: [[String]] - body part which gets damage | ||
|p3= damage: [[Number]] - received damage amount | |p3= damage: [[Number]] - received damage amount | ||
|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 | ||
| [[Nothing]] | | [[Nothing]] | ||
|x1= <code>[[player]] [[addEventHandler]] ["HandleDamage", { [[_this]] [[call]] [[BIS_fnc_radialRed]]; }];</code> | |x1= <code>[[player]] [[addEventHandler]] ["HandleDamage", { [[_this]] [[call]] [[BIS_fnc_radialRed]]; }];</code> | ||
| [[Arma_3:_Event_Handlers#HandleDamage|HandleDamage EH]], [[BIS_fnc_radialRedOut]] | | [[Arma_3:_Event_Handlers#HandleDamage|HandleDamage EH]], [[BIS_fnc_radialRedOut]] | ||
}} | }} |
Revision as of 23:38, 17 January 2021
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