BIS fnc reviveEhDammaged: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "\[\[Category\:Function Group\: Revive(\|\{\{[a-zA-Z0-9_:]+\}\})?\]\]" to "")
m (Text replacement - "|1.42|Game version=" to "|1.42|Game version= |gr1 = Revive |GROUP1=")
Line 4: Line 4:


|1.42|Game version=
|1.42|Game version=
|gr1 = Revive |GROUP1=


<!---|arg= local |Multiplayer Arguments=--->
<!---|arg= local |Multiplayer Arguments=--->

Revision as of 15:24, 12 October 2020

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
*/
Template:placeholder
Execution:
call
Groups:
Revive

Syntax

Syntax:
[] call BIS_fnc_reviveEhDammaged
Parameters:
parameter: Datatype - (Optional, default defValue) description
Return Value:
Datatype - description

Examples

Example 1:

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