feat: adds additional options to dialog manager, including a left-click action option and a text skipping option
This commit is contained in:
committed by
Julian Murgia
parent
d955e2ef1b
commit
d676e50284
@@ -90,12 +90,18 @@ func choose(dialog_player: Node, dialog: ESCDialog):
|
||||
emit_signal("option_chosen", option)
|
||||
|
||||
|
||||
# Trigger running the dialog faster
|
||||
# Trigger running the dialogue faster
|
||||
func speedup():
|
||||
if _type_player != null:
|
||||
_type_player.speedup()
|
||||
|
||||
|
||||
# Trigger an instant finish of the current dialog
|
||||
func finish():
|
||||
if _type_player != null:
|
||||
_type_player.finish()
|
||||
|
||||
|
||||
# The say command has been interrupted, cancel the dialog display
|
||||
func interrupt():
|
||||
if _dialog_player.get_children().has(_type_player):
|
||||
|
||||
Reference in New Issue
Block a user