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
Name | Type | Default |
---|---|---|
condition | String | "" |
disabled_text | String | "" |
else_action | int | 2 |
text | String | "" |
Methods
Returns | Method |
---|---|
bool | allow_alt_text ( ) |
void | build_event_editor ( ) |
void | from_text ( string : String ) |
Control | get_end_branch_control ( ) |
bool | is_valid_event ( string : String ) |
String | to_text ( ) |
Constants
No description available.
No description available.
No description available.
Property Descriptions
If not empty this condition will determine if this choice is active.
The text that is displayed if is false and is Disable. If empty will be used for disabled button as well.
Determines what happens if is false. Default will use the action set in the settings.
Settings The text that is displayed on the choice button.
Method Descriptions
func allow_alt_text ( ) ⇒ bool
No description available.
func build_event_editor ( ) ⇒ void
No description available.
func from_text ( string
: String ) ⇒ void
No description available.
func get_end_branch_control ( ) ⇒ Control
No description available.
func is_valid_event ( string
: String ) ⇒ bool
No description available.
No description available.