SetName

From VisionaireWiki
Revision as of 11:57, 16 August 2009 by Alex (talk | contribs) (Bot (Edward's framework))
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

setName

Lua Syntax:

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

Arguments

object

"object path"|"object id"|object - Specifies an object to rename.

name

"string" - The new name of the 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

None.