VN_fnc_revive_handleDamage

From Savage Game Design Wiki
Revision as of 18:08, 30 January 2021 by Lou Montana (talk | contribs) (Page filling)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
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;