0 votes

func loaddialog():
var finished = false
tree().paused = true
if dialogindex < dialog.size():
text = dialog[dialogindex]
visible = 0
$RichTextLabel, "percent
visible",0,1,1,Tween.TRANSLINEAR, Tween.EASEINOUT
dialog_index += 1

func onTweentweencompleted(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

in Engine by (12 points)

2 Answers

0 votes

I am also interested in this question. Perhaps someone can help?

by (14 points)
0 votes

get_tree().paused = false is how you unpause.

by (709 points)

I try it in the final of the code but it still paused and idk what to do

Welcome to Godot Engine Q&A, where you can ask questions and receive answers from other members of the community.

Please make sure to read Frequently asked questions and How to use this Q&A? before posting your first questions.
Social login is currently unavailable. If you've previously logged in with a Facebook or GitHub account, use the I forgot my password link in the login box to set a password for your account. If you still can't access your account, send an email to [email protected] with your username.