AddCharacterToScene()
Add Character To Scene
Create a scene instance from an existing Character Designer definition.
| Option key / field | Meaning and input | Default |
|---|---|---|
| Character characterId | Choose a Character Designer ID; player is a runtime alias where supported. | Blank |
| New ID id | Text. | Blank |
| Name name | Text. | Blank |
| XYZ position | Destination/placement coordinates as [X, Y, Z]. | [0.0, 0.0, 0.0] |
| Enabled enabled | Explicit on/off state for the feature or response. | true |
| Visible visible | Explicit visible/hidden state. | true |
| Animation (optional) animation | Text. | Blank |
Timing. Waits for the runtime routine to return; no further completion wait is promised by this schema.
await AddCharacterToScene({"characterId": "player", "id": "", "name": "powered"})In use. Add Elias at [2,0,-1] with a unique scene entity ID. Choose the character definition as the source; the scene instance's ID identifies the copy you create. Repeating this action without an existence check can create unwanted duplicates.
