Seven Towers: UCC Reference

USECODE INTRINSICS

object UI_get_container(object obj)
object obj->get_container()

Gets the container of the supplied object.

Parameters

objThe object whose container is desired.

Return

Return is zero if the object is directly in the game world, or an object reference to its immediate container otherwise.

Related intrinsics

See also