Difference between revisions of "AddLink"

From VisionaireWiki
Jump to navigation Jump to search
(New page: ==addLink== Lua Syntax: <pre>addLink(field, linkedObject [, object])</pre> ===Arguments=== ====field==== :'''int''' - The t_links field of the data structure were the object will be adde...)
 
(Removing all content from page)
Line 1: Line 1:
==addLink==
 
  
 
Lua Syntax:
 
<pre>addLink(field, linkedObject [, object])</pre>
 
===Arguments===
 
====field====
 
:'''int''' - The t_links field of the data structure were the object will be added to. The added link is of course a non-parent link. Parent links can only be created with createObject.
 
====linkedObject====
 
:'''"object path"|"object id"|object''' - Object which will be added to the t_links-field of an object.
 
====object====
 
:'''"object path"|"object id"|object''' - Object were the linked object will be added to (in the specified field). If no object is given the selected object is used
 
===Flags===
 
===Return Values===
 
None.
 

Revision as of 10:47, 25 October 2008