Skip to content

ConversationActionNewInteraction ​

Inherits: ConversationAction < Resource

Ends the conversation and starts a different interaction The interaction is pre-initialized and cached in ConversationInstance

Properties ​

Interactioninteractionnull

Methods ​

voidexecute( player: Entity, conversation_instance: ConversationInstance )
Array[Dictionary]validate()
Stringget_description()

Property descriptions ​

Interaction interaction = null ​

The interaction resource to switch to

Method descriptions ​

void execute( player: Entity, conversation_instance: ConversationInstance ) ​

Runs the action in the conversation.

Array[Dictionary] validate() ​

Checks the settings of the action. Gives the problems found (empty when it is fine).

String get_description() ​

A short text about what the action does, for the editor.