Attention | Topic was automatically imported from the old Question2Answer platform. | |
Asked By | Freddy_wabm |
func load_dialog():
var finished = false
get_tree().paused = true
if dialog_index < dialog.size():
$RichTextLabel.bbcode_text = dialog[dialog_index]
$RichTextLabel.percent_visible = 0
$Tween.interpolate_property(
$RichTextLabel, “percent_visible”,0,1,1,Tween.TRANS_LINEAR, Tween.EASE_IN_OUT
)
$Tween.start()
else:
queue_free()
dialog_index += 1
func _on_Tween_tween_completed(object, key):
finished = true
I have this code for a text box to pause on startup and unpause on completion try putting unpause = true at the end of the code and it was still in pause mode