UCC Reference

UI_set_npc_id

[SI, Exult]

UI_set_npc_id(actor npc, int id)
npc->set_npc_id(int id)

Changes an 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 to be changed.
id The new identity value. Must be an integer in the 0-31 range; values outside this range are accepted but incorrectly saved.

Related intrinsics

Full intrinsic reference | Reference definitions