VisionaireObject Command: setName

From The Official Visionaire Studio: Adventure Game Engine Wiki

Sets the internal name of the VisionaireObject.

Related functions getName


Syntax

setName(name)


Parameters

Parameter Type Description
name string The new internal name of the VisionaireObject


Return values

none


Examples

Example 1: Set the internal name of the current scene.

game:getLink(VGameCurrentScene):setName()

-- There is no shorthand method for setting the name
game.CurrentScene:setName()