Skip to content

DialogueInfo

Schema Type: JSON Type: object

No Description Found

position

Type: MVector3

Position of the object

See Definitions/MVector3

isRelativeToParent

Type: boolean

Whether the positional and rotational coordinates are relative to parent instead of the root planet object.


parentPath

Type: string

The relative path from the planet to the parent of this object. Optional (will default to the root sector).


rename

Type: string

An optional rename of this object


blockAfterPersistentCondition

Type: string

Prevents the dialogue from being created after a specific persistent condition is set. Useful for remote dialogue
triggers that you want to have happen only once.


lookAtRadius

Type: number

If a pathToAnimController is supplied, if you are within this distance the character will look at you. If it is set
to 0, they will only look at you when spoken to.


pathToAnimController

Type: string

If this dialogue is meant for a character, this is the relative path from the planet to that character's
CharacterAnimController, TravelerController, TravelerEyeController (eye of the universe), FacePlayerWhenTalking,
HearthianRecorderEffects or SolanumAnimController.

If it's a Recorder this will also delete the existing dialogue already attached to that prop.

If none of those components are present it will add a FacePlayerWhenTalking component.

`pathToAnimController` also makes the dialogue into a child of the anim controller. This can be used with `isRelativeToParent`
to position the dialogue on relative to the speaker. If you also provide `parentPath`, that will instead override which object
is the parent, but the anim controller will otherwise function as expected.


pathToExistingDialogue

Type: string

If this dialogue is adding to existing character dialogue, put a path to the game object with the dialogue on it here


radius

Type: number

Radius of the spherical collision volume where you get the "talk to" prompt when looking at. If you use a
remoteTrigger, you can set this to 0 to make the dialogue only trigger remotely.


range

Type: number Default: 2

Distance from radius the prompt appears


attentionPoint

Type: AttentionPointInfo

The point that the camera looks at when dialogue advances.

See Definitions/AttentionPointInfo

swappedAttentionPoints

Type: array

Additional points that the camera looks at when dialogue advances through specific dialogue nodes and pages.

Items

Type: SwappedAttentionPointInfo

No Description Found

See Definitions/SwappedAttentionPointInfo

remoteTrigger

Type: RemoteTriggerInfo

Allows you to trigger dialogue from a distance when you walk into an area.

See Definitions/RemoteTriggerInfo

xmlFile

Type: string

Relative path to the xml file defining the dialogue.


flashlightToggle

Type: FlashlightToggle Default: none

What type of flashlight toggle to do when dialogue is interacted with

See Definitions/FlashlightToggle