I don't think that's going to work.
This is a turn based RPG.
I need to display text to the player telling them what happened, like if an attack hit or not, pause so the player can read the text, press a button or click (in this case just press a continue button) to progress to the next action in the tun order.
Click the attack button -> display text "you attack" -> press continue -> game checks to see if you hit (with RNG, no hit boxes are used) and you hit -> display text "you hit" -> press continue -> deals damage and checks if enemy is dead -> enemy is dead -> display text "enemy killed
It needs to wait until the player confirms that they have read the message. Await is supposed to pause the current function until another function has completed.
So, I call the text changing function in the middle of another function, and it should pause until the text change function is compelte.
And I put an await signal line in the text change function, so it wouldn't complete until the player clicks the button to progres.. Then it completes, and then the first function can continue.
That is the intention. So why does putting an await signal at the end of the function not work when I don't want it to progress until the player confirms to progress?
And I do not understand how connecting it to a button would help in any way. It's already waiting for a singal from a button.