<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Recent changes to image_parent</title><link>https://sourceforge.net/p/arcanfe/wiki/image_parent/</link><description>Recent changes to image_parent</description><atom:link href="https://sourceforge.net/p/arcanfe/wiki/image_parent/feed" rel="self"/><language>en</language><lastBuildDate>Sun, 24 Jun 2012 19:11:14 -0000</lastBuildDate><atom:link href="https://sourceforge.net/p/arcanfe/wiki/image_parent/feed" rel="self" type="application/rss+xml"/><item><title>WikiPage image_parent modified by Björn Ståhl</title><link>https://sourceforge.net/p/arcanfe/wiki/image_parent/</link><description>&lt;pre&gt;--- v2
+++ v3
@@ -5,9 +5,10 @@
     function image_parent(child_vid) =&gt; vid or BADID
 ~~~~
 
-Return the parent vid of the object child_vid linked to. The topmost will always be WORLDID, or BADID if child_vid doesn't exist.
+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]
&lt;/pre&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Björn Ståhl</dc:creator><pubDate>Sun, 24 Jun 2012 19:11:14 -0000</pubDate><guid>https://sourceforge.net363e1752b93b7ab13c962af7830484caebe1551f</guid></item><item><title>WikiPage image_parent modified by Björn Ståhl</title><link>https://sourceforge.net/p/arcanfe/wiki/image_parent/</link><description>&lt;pre&gt;--- v1
+++ v2
@@ -10,4 +10,4 @@
 **caveats:**
 
 **related functions:**
-[check_vid]
+[valid_vid]
&lt;/pre&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Björn Ståhl</dc:creator><pubDate>Thu, 21 Jun 2012 23:32:23 -0000</pubDate><guid>https://sourceforge.netd95fe5e79d4e34024534c7db597482a15e28c455</guid></item><item><title>WikiPage image_parent modified by Björn Ståhl</title><link>https://sourceforge.net/p/arcanfe/wiki/image_parent/</link><description>**declaration:**

~~~~
::Lua
    function image_parent(child_vid) =&gt; vid or BADID
~~~~

Return the parent vid of the object child_vid linked to. The topmost will always be WORLDID, or BADID if child_vid doesn't exist.

**caveats:**

**related functions:**
[check_vid]
</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Björn Ståhl</dc:creator><pubDate>Thu, 21 Jun 2012 23:31:46 -0000</pubDate><guid>https://sourceforge.net6d6784b9e13a9fd296c654e88aa88d44ac09d5f5</guid></item></channel></rss>