Seven Towers: UCC Reference

USECODE INTRINSICS

[SI, Exult]

UI_set_polymorph(actor npc, int shape)
npc->set_polymorph(int shape)

Makes an NPC take a different, temporary shape. The polymorphed shape is persistent across save games. The NPC can be returned to its normal shape by unsetting the NPC's POLYMORPH flag with a call to clear_item_flag intrinsic.

Parameters

npcThe NPC to be polymorphed.
shapeThe shape in 'SHAPES.VGA' that the NPC will take.

Related intrinsics

See also