プレイ日記
Ep17 EmPx17
How do i make a dialog do GOTO @INIT when i press yes and when press no it cancels?
1そうだね
プレイ済み
返信[1]
親投稿
12Me21 12Me21
The variable "RESULT" stores the result of a dialog. So you could do something like: DIALOG "text",1 IF RESULT==1 GOTO @INIT
2そうだね
プレイ済み
返信[2]
親投稿
PChicken NerdChicken
Hi 12me!
0そうだね
プレイ済み
返信[3]
親投稿
PChicken NerdChicken
Also, you can make a more professional DIALOG box that is custom made with XSCREEN, the DEF codeblock and some good coding. I'll upload an example in a minute.
1そうだね
プレイ済み
返信[4]
親投稿
PChicken NerdChicken
A minute turned out to be more than 2 hours, so here ya go: GDIALOG, my most prized possession. :D Z28EC8AE
1そうだね
プレイ済み
返信[5]
親投稿
PChicken NerdChicken
A minute turned out to be more than 2 hours, so here ya go: GDIALOG, my most prized possession. :D Z28EC8AE
1そうだね
プレイ済み
返信[6]
親投稿
Ep17 EmPx17
I have no idea how to use that.
0そうだね
プレイ済み
返信[7]
親投稿
PChicken NerdChicken
if you look in the code, you can see how to use it. just look at the def line with GDIALOG in it.
1そうだね
プレイ済み