DialogicChoiceEvent

This contains the source code documentation of the class DialogicChoiceEvent.

DialogicChoiceEvent

Inherits: DialogicEvent

Event that allows adding choices. Needs to go after a text event (or another choices EndBranch).

Properties


Methods


Constants

const HIDE = 0

No description available.


const DISABLE = 1

No description available.


const DEFAULT = 2

No description available.


Property Descriptions

var text = ""

Settings The text that is displayed on the choice button.


var condition = ""

If not empty this condition will determine if this choice is active.


var else_action = 2

Determines what happens if is false. Default will use the action set in the settings.


var disabled_text = ""

The text that is displayed if is false and is Disable. If empty will be used for disabled button as well.


var extra_data = {}

A dictionary that can be filled with arbitrary information This can then be interpreted by a custom choice layer


var regex = create_from_string(...)

No description available.


Method Descriptions

func get_end_branch_control ( ) ⇒ Control

No description available.


func to_text ( ) ⇒ String

No description available.


func from_text ( string: String ) ⇒ void

No description available.


func get_shortcode_parameters ( ) ⇒ Dictionary

No description available.


func is_valid_event ( string: String ) ⇒ bool

No description available.


func build_event_editor ( ) ⇒ void

No description available.


func allow_alt_text ( ) ⇒ bool

No description available.