andoy Posted January 28, 2021 Group: Members Topic Count: 15 Topics Per Day: 0.01 Content Count: 39 Reputation: 1 Joined: 12/11/20 Last Seen: October 22, 2024 Share Posted January 28, 2021 I have 2 invisible cash shop npcs and I call them from another npc depending on the choice. The problem is even though I pick "Usables", which is case 1, it opens the Costumes Cash Shop, which is case 2. - cashshop Usables Shop -1,14003:15,12902:100 - cashshop Costumes Shop -1,20404:1000,20459:1000,31057:1000,31062:1000,31178:1000,31199:1000 payon,171,142,4 script Cash Shop 874,{ switch(select("Usables:Costumes:Cancel")) { case 1: callshop "Usables Shop", 1; case 2: callshop "Costumes Shop", 1; case 3: close; } } Quote Link to comment Share on other sites More sharing options...
0 Haruka Mayumi Posted January 28, 2021 Group: Members Topic Count: 9 Topics Per Day: 0.00 Content Count: 485 Reputation: 271 Joined: 06/13/17 Last Seen: February 25 Share Posted January 28, 2021 add "break" on your case. - cashshop Usables Shop -1,14003:15,12902:100 - cashshop Costumes Shop -1,20404:1000,20459:1000,31057:1000,31062:1000,31178:1000,31199:1000 payon,171,142,4 script Cash Shop 874,{ switch(select("Usables:Costumes:Cancel")) { case 1: callshop "Usables Shop", 1; break; case 2: callshop "Costumes Shop", 1; break; case 3: close; } } Quote Link to comment Share on other sites More sharing options...
Question
andoy
I have 2 invisible cash shop npcs and I call them from another npc depending on the choice.
The problem is even though I pick "Usables", which is case 1, it opens the Costumes Cash Shop, which is case 2.
Link to comment
Share on other sites
1 answer to this question
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.