Attempt to fix dialogs "finish_fast" action.
This commit is contained in:
@@ -20,7 +20,7 @@ compress/hdr_mode=0
|
||||
compress/bptc_ldr=0
|
||||
compress/normal_map=0
|
||||
flags/repeat=0
|
||||
flags/filter=true
|
||||
flags/filter=false
|
||||
flags/mipmaps=false
|
||||
flags/anisotropic=false
|
||||
flags/srgb=2
|
||||
|
||||
@@ -407,8 +407,10 @@ func repeat(command_params : Array):
|
||||
|
||||
|
||||
"""
|
||||
say speaker_id "text_to_say" [dialog_ui_name]
|
||||
Make a character say one line.
|
||||
Usage: say object_id line [dialog_ui_name]
|
||||
- dialog_ui_name String if set, uses the dialog UI by its name as defined
|
||||
in game.tscn/dialog_layer/dialog_player
|
||||
"""
|
||||
func say(command_params : Array) -> esctypes:
|
||||
current_context.waiting = true
|
||||
|
||||
@@ -190,8 +190,8 @@ func do(action : String, params : Array = []) -> void:
|
||||
_:
|
||||
# $esc_runner.activate(action, params[0])
|
||||
report_warnings("escoria.gd:do()", ["Action received:", action, "with params ", params])
|
||||
elif current_state == GAME_STATE.DIALOG:
|
||||
dialog_player.finish_fast()
|
||||
# elif current_state == GAME_STATE.DIALOG:
|
||||
# dialog_player.finish_fast()
|
||||
elif current_state == GAME_STATE.WAIT:
|
||||
pass
|
||||
|
||||
|
||||
Reference in New Issue
Block a user