FaceCharacter()
Face Character
Turn one character toward another.
| Option key / field | Meaning and input | Default |
|---|---|---|
| Character characterId | Choose a Character Designer ID; player is a runtime alias where supported. | Blank |
| Face Character targetCharacterId | Choose a Character Designer ID; player is a runtime alias where supported. | Blank |
Timing. Waits for the runtime routine to return; no further completion wait is promised by this schema.
await FaceCharacter({"characterId": "player", "targetCharacterId": ""})In use. Face Elias toward the player before his greeting. Select the acting character first and the target second. Turning alone does not bring them closer or guarantee a clear line of sight.
FaceObject()#
Face Object
Turn a character toward a scene object.
| Option key / field | Meaning and input | Default |
|---|---|---|
| Character characterId | Choose a Character Designer ID; player is a runtime alias where supported. | Blank |
| Object Room sceneId | Choose a scene ID. | Blank |
| Object targetId | Choose an entity in the selected scene. | Blank |
Timing. Waits for the runtime routine to return; no further completion wait is promised by this schema.
await FaceObject({"characterId": "player", "sceneId": "lab", "targetId": "archive_door"})In use. Make the player face the signal lamp after using the lever. The target's position determines the facing direction; a large object's origin may not be the point you intended.
