VN_fnc_revive_handleDamage
← back to Functions | Introduced in S.O.G. Prairie Fire v1.00 by Ethan Johnson |
|
Description
Damage handler for the advanced revive. The unit is incapacitated if damage >= 0.9.
Syntax
- Syntax
- [unit, unused, damage] call VN_fnc_revive_handleDamage
- Parameters
- unit: Object - the unit to which the eventhandler is assigned
- unused - unused argument index
- damage: Number - damage value
- Return value
- Number or nil
Examples
- Example 1
[player, nil, 0.25] call VN_fnc_revive_handleDamage;