プレイ日記
Soren A. sorensbackintown
How do i get the BUTTON Command to work? Im confused
2そうだね
プレイ済み
返信[1]
親投稿
komodo † 406mario
do this b=button() if b and #a then ..........
1そうだね
プレイ済み
返信[2]
親投稿
Soren A. sorensbackintown
Thanks
0そうだね
プレイ済み
返信[3]
親投稿
komodo † 406mario
no problem good luck on your game.
0そうだね
プレイ済み
返信[4]
親投稿
Soren A. sorensbackintown
So I want it to goto the page as soon as you press the button... am i doing somthing wrong?
0そうだね
プレイ済み
返信[5]
親投稿
TN21 Trinitro21
You would want to put those IF statements in a loop. Like this: WHILE TRUE 'Loops while the condition is true. TRUE is always true, so it loops forever. B=BUTTON() IF B AND #A THEN GOTO @GAME IF B AND #B THEN GOTO @CONTINUE IF B AND #X THEN GOTO @OPTIONS WEND 'Ends the WHILE loop. There are other ways of making loops; WHILE TRUE is just the way I prefer.
1そうだね
プレイ済み
返信[6]
親投稿
Soren A. sorensbackintown
Thanks!
0そうだね
プレイ済み