DialogComponent - acrimi/Raven GitHub Wiki

DialogComponent associates text with an entity, such as for signs or npcs. The direction from which the text can be accessed can optionally be limited.

Configuration

When used inside the components block, the initial state of the component can be configured with the following parameters:

Key Type Description
text string The text that can be read from this entity
readOrientation string An optional, case-insensitive orientation that the entity can only be read from. This corresponds to the orientation of the reader, so "up" means an entity must be facing up to read this entity's dialog. See EntityOrientation for all values.

Example:

"DialogComponent": {
  "text": true,
  "readOrientation": "up"
}

Properties

This component has no exposed properties