UCC Reference

UI_get_container

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

Gets the container of the supplied object.

Parameters

Parameter / value Description
obj The 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

Full intrinsic reference | Reference definitions