Difference between revisions of "DeleteObject"

From VisionaireWiki
Jump to navigation Jump to search
(New page: ==deleteObject== Lua Syntax: <pre>deleteObject(object)</pre> ===Arguments=== ====object==== :'''"object path"|"object id"|object''' - Object to delete. The object is automatically remove...)
 
m (Bot (Edward's framework))
 
(One intermediate revision by one other user not shown)
Line 3: Line 3:
  
 
Lua Syntax:
 
Lua Syntax:
<pre>deleteObject(object)</pre>
+
<pre>deleteObject(object, {flags=1,
 +
    flush = true|false})</pre>
 
===Arguments===
 
===Arguments===
 
====object====
 
====object====
 
:'''"object path"|"object id"|object''' - Object to delete. The object is automatically removed from the parent.
 
:'''"object path"|"object id"|object''' - Object to delete. The object is automatically removed from the parent.
 
===Flags===
 
===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===
 
===Return Values===
 
None.
 
None.

Latest revision as of 12:56, 16 August 2009

deleteObject

Lua Syntax:

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

Arguments

object

"object path"|"object id"|object - Object to delete. The object is automatically removed from the parent.

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

None.