GetImmortal(object)

Retrieves the mortality of a creature.

int GetImmortal(
    object oTarget = OBJECT_SELF
);

Parameters

oTarget

Target to determine the mortality of. (Default: OBJECT_SELF)


Description

Determines if a creature is immortal; that is will not die no matter what.



Remarks

Immortal creatures take damage, but can never be killed. Personally, I'd consider it bad form to use these too much, and never without giving the PC a clue that they might not be able to kill this particular monster. Nothing is more annoying than struggling to get a creature to near death, and then fighting it for ten more minutes before you get up, since the creature could actually never be killed.


Version

1.61

See Also

functions: GetPlotFlag
categories: Cut-Scene Functions | Get Data from Creature Functions


 author: Charles Feduke, editor: Lilac Soul