image_parent

declaration:

::Lua
    function image_parent(child_vid) => vid or BADID

Return the parent vid of the object child_vid linked to or BADID if child_vid doesn't exist.

caveats:
If the image is detatched, or for some other reason doesn't have a parent set, it will return child_vid.

related functions:
[valid_vid]


Related

Wiki: Video Functions
Wiki: valid_vid

MongoDB Logo MongoDB