UCC Reference

UI_is_dead

bool UI_is_dead(actor npc)
bool npc->is_dead()

Checks if the NPC is dead or alive. This is equivalent to checking if the 'DEAD' flag is set.

Parameters

Parameter / value Description
npc Who we want to check.

Return

Returns true if the NPC is dead, false otherwise.

Related intrinsics

Full intrinsic reference | Reference definitions