DuplicateObject: Difference between revisions

From VisionaireWiki
Jump to navigation Jump to search
(Removing all content from page)
m (Bot (Edward's framework))
 
Line 1: Line 1:
==duplicateObject==


Lua Syntax:
<pre>duplicateObject(object, name, {flags=1,
    flush = true|false})</pre>
===Arguments===
====object====
:'''"object path"|"object id"|object''' - Object to duplicate.
====name====
:'''"string"''' - Name of new duplicated object.
===Flags===
====fl/flush====
:If true then the pending notifications will be flushed immediately. By default notifications of commands inside a command group will be sent after the group is closed.
===Return Values===
;object
:newly created duplicated object.

Latest revision as of 11:57, 16 August 2009

duplicateObject

Lua Syntax:

duplicateObject(object, name, {flags=1, 
    flush = true|false})

Arguments

object

"object path"|"object id"|object - Object to duplicate.

name

"string" - Name of new duplicated object.

Flags

fl/flush

If true then the pending notifications will be flushed immediately. By default notifications of commands inside a command group will be sent after the group is closed.

Return Values

object
newly created duplicated object.