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.
npc | The NPC to be polymorphed. |
shape | The shape in 'SHAPES.VGA' that the NPC will take. |