ConversationActionSetResponseState ​
Inherits: ConversationAction < Resource
Sets the active state of a response in the conversation Used to dynamically enable or disable response options
Properties ​
int | response_id | 0 |
bool | response_state | true |
Methods ​
void | execute( player: Entity, conversation_instance: ConversationInstance ) |
Array[Dictionary] | validate() |
String | get_description() |
Property descriptions ​
int response_id = 0 ​
The ID of the response to modify
bool response_state = true ​
The new state (true = active/enabled, false = inactive/disabled)
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.