BIS fnc reviveEhDammaged: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "|p1= parameter: Datatype - (Optional, default defValue) description" to "|p1= ")
m (Text replacement - " |p1= |r1= |x1= }}" to " |p1= |r1= |x1= |seealso= }}")
 
(10 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{RV|type=function
{{RV|type=function


| arma3
|game1= arma3
|version1= 1.42


|1.42
|gr1= Revive


|gr1 = Revive
|descr= <pre>/*
 
<!---|arg= local |Multiplayer Arguments=--->
 
<!---|eff= local |Multiplayer Effects=--->
 
| <pre>/*
unit: Object - Object the event handler is assigned to
unit: Object - Object the event handler is assigned to
hitSelection: String - Name of the selection where the unit was damaged
hitSelection: String - Name of the selection where the unit was damaged
Line 19: Line 14:
shooter: Object - shooter reference (to get instigator use getShotParents on projectile)
shooter: Object - shooter reference (to get instigator use getShotParents on projectile)
projectile: Object - the projectile that caused damage
projectile: Object - the projectile that caused damage
*/</pre>{{placeholder}}<!-- Remove this after fill-in -->
*/</pre>{{Wiki|placeholder}}<!-- Remove this after fill-in -->


|s1= [] call [[BIS_fnc_reviveEhDammaged]]
|s1= [] call [[BIS_fnc_reviveEhDammaged]]
Line 29: Line 24:
|x1=
|x1=


|exec= call}}
|seealso=
 
}}
 
 
[[Category:{{Name|arma3}}: Functions|{{uc:reviveEhDammaged}}]]

Latest revision as of 02:22, 13 June 2021

Hover & click on the images for description

Description

Description:
/*
unit: Object - Object the event handler is assigned to
hitSelection: String - Name of the selection where the unit was damaged
damage: Number - Resulting level of damage
hitPartIndex: Number - hit index of the hit selection
hitPoint: String - hit point Cfg name
shooter: Object - shooter reference (to get instigator use getShotParents on projectile)
projectile: Object - the projectile that caused damage
*/
🏗
Placeholder description extracted from the function header by BIS_fnc_exportFunctionsToWiki.
Execution:
call
Groups:
Revive

Syntax

Syntax:
[] call BIS_fnc_reviveEhDammaged
Return Value:
Return value needed

Examples

Examples:
Example needed

Additional Information

See also:
See also needed

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