Attempt to fix dialogs "finish_fast" action.

This commit is contained in:
Julian Murgia
2021-01-30 14:00:23 +01:00
parent e6f4af74a8
commit b789490f63
45 changed files with 491 additions and 1114 deletions

View File

@@ -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

View File

@@ -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

View File

@@ -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