BIS fnc radialRed: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - "\|gr([0-9]+) = " to "|gr$1= ") |
Lou Montana (talk | contribs) m (Some wiki formatting) |
||
Line 1: | Line 1: | ||
{{RV|type=function | {{RV|type=function | ||
| arma3 | |game1= arma3 | ||
|version1= 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]]. | |descr= 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]] | |s1= [victim, bodyPart, damage, shooter] call [[BIS_fnc_radialRed]] | ||
|p1= victim: [[Object]] - unit who gets damage | |p1= victim: [[Object]] - unit who gets damage | ||
Line 17: | Line 16: | ||
|p3= damage: [[Number]] - received damage amount | |p3= damage: [[Number]] - received damage amount | ||
|p4= shooter: [[Object]] - (Optional, default objNull) | |p4= shooter: [[Object]] - (Optional, default objNull) requested only if ''bodyPart'' is not empty string | ||
| [[Nothing]] | |r1= [[Nothing]] | ||
|x1= <code>[[player]] [[addEventHandler]] ["HandleDamage", { [[Magic Variables#this|_this]] [[call]] [[BIS_fnc_radialRed]]; }];</code> | |x1= <code>[[player]] [[addEventHandler]] ["HandleDamage", { [[Magic Variables#this|_this]] [[call]] [[BIS_fnc_radialRed]]; }];</code> | ||
| [[Arma_3:_Event_Handlers#HandleDamage|HandleDamage EH]], [[BIS_fnc_radialRedOut]] | |seealso= [[Arma_3:_Event_Handlers#HandleDamage|HandleDamage EH]], [[BIS_fnc_radialRedOut]] | ||
}} | }} |
Revision as of 21:43, 9 June 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) 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