kts.IsAlive

Name

kts.IsAlive – determine whether a creature is still alive

Synopsis

result = kts.IsAlive(creature)

Description

Given a Creature, returns true if the creature is still alive, or false if it is dead.

Return Value

Returns a boolean value as described above.

Errors

If the input parameter is not a valid Creature (or nil), an error is raised.

Notes

An input of nil results in a false return value.

See Also

kts.GetPos