Arma 3 Scripting

Function in Revive

BIS_fnc_reviveEhDammaged

Also available as Markdown and JSON, or read the original wiki page.

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

Syntax

[] call BIS_fnc_reviveEhDammaged

Returns:

Function header

The comment at the top of the function's file in the game; this page's description come from it.

/*
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
*/