UCC Reference

UI_set_last_created

object UI_set_last_created(object obj)
object obj->set_last_created()

Moves the object from the game map or container where it was and places it in the 'last created' stack. This intrinsic does nothing if the specified object is already in the aforementioned stack.

Parameters

Parameter / value Description
obj The object to be moved to the 'last created' stack.

Return

Returns zero if the object was already in the 'last created' stack, an object reference to the object otherwise.

Related intrinsics

Full intrinsic reference | Reference definitions