UCC Reference

UI_get_item_shape

int UI_get_item_shape(object obj)
int obj->get_item_shape()

Gets the current shape of the desired object.

Parameters

Parameter / value Description
obj The object whose shape is desired.

Return

The shape in 'SHAPES.VGA' of the object in question, or zero for an invalid object. For an NPC, this is the real shape, rather than the shape currently displayed by polymorph effects.

Related intrinsics

Full intrinsic reference | Reference definitions