FollowCharacter()
Follow Character
Start one character following another with a chosen spacing and speed.
| Option key / field | Meaning and input | Default |
|---|---|---|
| Character characterId | Choose a Character Designer ID; player is a runtime alias where supported. | Blank |
| Character to Follow targetCharacterId | Choose a Character Designer ID; player is a runtime alias where supported. | Blank |
| Distance Behind distance | Number; decimals allowed. | 0 |
| Speed speed | Movement speed; 0 uses the normal movement speed where supported. | 0 |
Timing. Waits for the runtime routine to return; no further completion wait is promised by this schema.
await FollowCharacter({"characterId": "player", "targetCharacterId": "", "distance": 0})In use. Have Elias follow the player at about 1.5 units. It starts a continuing behavior; the next list instruction need not wait for a final destination. Stop the follower before a staged conversation if both actors must hold their marks.
StopFollowCharacter()#
Stop Follow Character
Stop the chosen character's follow behavior.
| Option key / field | Meaning and input | Default |
|---|---|---|
| Character characterId | 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 StopFollowCharacter({"characterId": "player"})In use. Call it before walking an NPC to a specific scene marker. It stops the following relationship; it does not remove the character or disable future movement commands.
