VN_fnc_revive_handleDamage

From Savage Game Design Wiki
(Redirected from VN fnc revive handledamage)
Jump to navigation Jump to search
← back to Functions Introduced in S.O.G. Prairie Fire v1.00
by Ethan Johnson
Argument(s): local
Effect(s): global

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;