I'm having the hardest time trying to figure out how to make a "choose from list" type of script. What I'm looking for is something similar to the mechanics of arrow crafting. What I would like to happen is when you talk to an NPC, they will ask for a card and some zeny. Any type of monster card can be used. (Poring, wolf, skeleton, etc)
When the NPC asks "which card would you use", a list of all available cards in your inventory will pop up. (Similar to arrow crafting, where you use the skill and a list of useable items that are currently in your inventory show up. You choose the item, and then that item vanishes and is replace with arrows).
I would like to use a list instead of @input ID because no one is going to know the ID of the card they want to use off the top of their heads. The list of currently available cards would be much easier. Can someone either make a script for me? Preferably with at least 3 card options already in it so I can add the rest of them myself (if it has to be a manual entry in the script of every card ID).
As always any help is much appreciated! Thank you so much in advance!
Question
Marihna
Hello!
I'm having the hardest time trying to figure out how to make a "choose from list" type of script. What I'm looking for is something similar to the mechanics of arrow crafting. What I would like to happen is when you talk to an NPC, they will ask for a card and some zeny. Any type of monster card can be used. (Poring, wolf, skeleton, etc)
When the NPC asks "which card would you use", a list of all available cards in your inventory will pop up. (Similar to arrow crafting, where you use the skill and a list of useable items that are currently in your inventory show up. You choose the item, and then that item vanishes and is replace with arrows).
I would like to use a list instead of @input ID because no one is going to know the ID of the card they want to use off the top of their heads. The list of currently available cards would be much easier. Can someone either make a script for me? Preferably with at least 3 card options already in it so I can add the rest of them myself (if it has to be a manual entry in the script of every card ID).
As always any help is much appreciated! Thank you so much in advance!
Link to comment
Share on other sites
0 answers 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.