GameMaker [Solved] Dialog Box Multiplying Every Interaction

W

WxAaRoNxW

Guest
So, I have a small problem that I can't understand (I'm extremely new like 2 days ago) I made a dialog system where if the player meets the npc and press a key a dialog box appears and closes after pressing z a few times, my main problem is every time I reinteract with the npc the dialog box multiplies
ex. *press z* dialog box appears saying "hi" *press z* new line "hello" appears *press z* dialog box closes.
reinteract with npc *press z* same thing "hi" then "hello" but after that it should just close the dialog box, but, "hi" appears then "hello" then so on.

my explanation might've confused you guys...

screen shot of scripts are over here
upload_2017-7-29_1-21-20.png

upload_2017-7-29_1-21-59.png

upload_2017-7-29_1-22-25.png

upload_2017-7-29_1-22-39.png

upload_2017-7-29_1-22-55.png
 
Last edited by a moderator:
Top