Skip to reading
GDScript Programming & Godot

ChangeCharacterDescription()

Edition 0.86.4.1 HF1

0.86.4.1 Hotfix 1 edition. Earlier lessons and screenshots retain their original version context; revised references and supplements describe the newer behavior.

Download PDFView PDF page

Change Character Description

Change a character's description.

Source table from ChangeCharacterDescription(), page 133
Option key / fieldMeaning and inputDefault
Character / Player characterIdChoose a Character Designer ID; player is a runtime alias where supported.Blank
Description descriptionText.Blank

Timing. Waits for the runtime routine to return; no further completion wait is promised by this schema.

Code example
await ChangeCharacterDescription({"characterId": "player", "description": ""})

In use. Describe Elias differently after he becomes a companion. A custom Look script with its own fixed text will not automatically use the changed description.

ChangeRegionDescription()#

Change Region Description

Change the description of a named region.

Source table from ChangeCharacterDescription(), page 133
Option key / fieldMeaning and inputDefault
Scene sceneIdChoose a scene ID.Blank
Region regionIdChoose a region in the selected scene.Blank
Description descriptionText.Blank

Timing. Waits for the runtime routine to return; no further completion wait is promised by this schema.

Code example
await ChangeRegionDescription({"sceneId": "lab", "regionId": "", "description": ""})

In use. Change a frozen pool's description after it melts. Choose the region in the correct scene. This does not turn a non-interactive region into a clickable hotspot.

Page 133 of 378Permalink
Go to page