You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 

18 lines
519 B

extends Control
## The timeline to load when starting the scene
export(String, "TimelineDropdown") var timeline: String
export(bool) var add_canvas = true
export(bool) var reset_saves = true
export(bool) var debug_mode = false
export(bool) var show_immediately = false
func _ready():
if show_immediately:
show_dialogue()
func show_dialogue():
var d = Dialogic.start(timeline, '', "res://addons/dialogic/Nodes/DialogNode.tscn", debug_mode, add_canvas)
get_parent().call_deferred('add_child', d)
queue_free()