Jump to content
  • 0

Can't move after clicking Cancel button


Question

Posted

Hello. What's wrong with my script? I can't move after clicking the cancel button in cash shop.


mes @npcname$;
mes "Choose your Shop";

L_shop:
next; 
switch (select ("Headgear:Armor:Armor2:Weapon:Weapon2:Accessory:Cards:Etc")) {

Case 1: switch (select ("Upper:Middle:Lower:*^808080Go Back^000000")){
Case 1: callshop "Shop1",1;  goto L_shop; break;
Case 2: callshop "Shop2",1;  goto L_shop;   break;
Case 3: callshop "Shop3",1;  goto L_shop;   break; 
case 4: goto L_shop; break;
}
Case 2: callshop "Shop4",1;  goto L_shop;   break;
Case 3: callshop "Shop41",1;  goto L_shop;   break; 
Case 4: callshop "Shop5",1;  goto L_shop;   break;
Case 5: callshop "Shop51",1;  goto L_shop;   break;
Case 6: callshop "Shop6",1;  goto L_shop;   break;
Case 7: callshop "Shop9",1;  goto L_shop;   break;
Case 8: callshop "Shop8",1;  goto L_shop;   break;

}


3 answers to this question

Recommended Posts

Posted

Well, i suggest you to end the script rigth after you do a callshop.

Use some close2 and then open the shop and use an end

Something like:

case 2:
mes @npcname$;
mes "I will open the Shop";
close2;
callshop "Shop4",1;
end;

Or instead of using:

goto L_shop;

Just remove it. If they want to shop again, just talk to the NPC.

I don't know what could be causing the error, but try those thing i told you.

Good Luck!

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...