Dialogue System

This commit is contained in:
Marco 2025-02-06 11:36:21 +01:00
commit 1fa77f0c03
690 changed files with 46698 additions and 14 deletions

View file

@ -0,0 +1,44 @@
@tool
class_name DialogicEndTimelineEvent
extends DialogicEvent
## Event that ends a timeline (even if more events come after).
#region EXECUTE
################################################################################
func _execute() -> void:
dialogic.end_timeline()
#endregion
#region INITIALIZE
################################################################################
func _init() -> void:
event_name = "End"
set_default_color('Color4')
event_category = "Flow"
event_sorting_index = 10
#endregion
#region SAVING/LOADING
################################################################################
func get_shortcode() -> String:
return "end_timeline"
#endregion
#region EDITOR REPRESENTATION
################################################################################
func build_event_editor() -> void:
add_header_label('End Timeline')
#endregion