object UI_get_container(object obj) object obj->get_container()
Gets the container of the supplied object.
obj | The object whose container is desired. |
Return is zero if the object is directly in the game world, or an object reference to its immediate container otherwise.