Difference between revisions of "VisionaireObject Command: setName"
From The Official Visionaire Studio: Adventure Game Engine Wiki
(Created page with "Sets the internal name of the VisionaireObject. {| class="ts" |- | style="width:15%" | Related functions | getName |} == Syntax == <sy...") |
(No difference)
|
Latest revision as of 17:58, 31 August 2023
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()