CreateObject: Difference between revisions

From VisionaireWiki
Jump to navigation Jump to search
(New page: ==createObject== Lua Syntax: <pre>createObject(tableId [, parentObject, field], {flags=1, name = "string"})</pre> ===Arguments=== ====tableId==== :'''int''' - Table identifier which...)
 
(Removing all content from page)
Line 1: Line 1:
==createObject==


Lua Syntax:
<pre>createObject(tableId [, parentObject, field], {flags=1,
    name = "string"})</pre>
===Arguments===
====tableId====
:'''int''' - Table identifier which defines type of created object.
====parentObject====
:'''"object path"|"object id"|object''' - Object where the created object will be added to.If no parent object is given the created object will be added to the game object.
====field====
:'''int''' - Data field where the created object will be added to the parent object.
===Flags===
====n/name====
:The name of the newly created object.
===Return Values===
None.

Revision as of 09:48, 25 October 2008