UI_get_npc_id
![[SI, Exult]](images/siexultsm.png)
int UI_get_npc_id(actor npc)
int npc->get_npc_id()
Retrieves a NPC's identity. This identity has no real effect other than that given to it by usecode.
Parameters
| Parameter / value | Description |
|---|---|
npc |
The NPC whose identity is sought. |
Return
If given a valid NPC, this intrinsic returns that NPC's identity; otherwise it returns zero.