BIS fnc radialRed: Difference between revisions
Jump to navigation
Jump to search
m (Generated by BIS_fnc_exportFunctionsToWiki) |
Lou Montana (talk | contribs) m (Text replacement - "<code>([^<]+)<\/code>" to "<sqf>$1</sqf>") |
||
(28 intermediate revisions by 4 users not shown) | |||
Line 1: | Line 1: | ||
{{RV|type=function | |||
|game1= arma3 | |||
|version1= 1.00 | |||
| | |gr1= Feedback | ||
| | |descr= Red radial postprocess (hit damage, fire damage). Parameters are the same as the first four of [[Arma_3:_Event_Handlers#HandleDamage|HandleDamage EH]]. | ||
| | |s1= [victim, bodyPart, damage, shooter] call [[BIS_fnc_radialRed]] | ||
|p1= victim: [[Object]] - unit who gets damage | |||
|p2= bodyPart: [[String]] - body part which gets damage | |||
|p3= damage: [[Number]] - received damage amount | |||
|p4= shooter: [[Object]] - (Optional, default objNull) requested only if ''bodyPart'' is not empty string | |||
| | |r1= [[Nothing]] | ||
|x1= <sqf>player addEventHandler ["HandleDamage", { _this call BIS_fnc_radialRed; }];</sqf> | |||
|x1= < | |||
|seealso= [[Arma_3:_Event_Handlers#HandleDamage|HandleDamage EH]] [[BIS_fnc_radialRedOut]] | |||
}} | }} | ||
Latest revision as of 17:11, 13 July 2022
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:
Additional Information
- See also:
- HandleDamage EH BIS_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