UCC Reference

UI_get_body_npc

[SI, Exult]

UI_get_body_npc(object obj)
obj->get_body_npc()

Inspects what NPC (is associated with the given dead body.

Parameters

Parameter / value Description
obj The object to be inspected.

Return

If the supplied object is the dead body of an NPC, returns the NPC's number, as reported by get_npc_num intrinsic call; otherwise, returns zero.

Related intrinsics

Full intrinsic reference | Reference definitions