I want to add more headgears but problem is its sorted alphabetically so I would have to go and change all the t1, t2, t3 ,tx, etc after the new submission.
So I was wondering if anyone could help me with making it have a input function?
Like a window comes up and telll the players to insert a item ID, then it checks if that ID is in the list if not tells them to try again but if it is then proceds with the script.
The Item ID are the last value and are seen as getarg(4) by the script.
Question
windston
I have a NPC where players can choose from a bunch of different headgears, but right now have them as lists.
Here is example of code:
I want to add more headgears but problem is its sorted alphabetically so I would have to go and change all the t1, t2, t3 ,tx, etc after the new submission.
So I was wondering if anyone could help me with making it have a input function?
Like a window comes up and telll the players to insert a item ID, then it checks if that ID is in the list if not tells them to try again but if it is then proceds with the script.
The Item ID are the last value and are seen as getarg(4) by the script.
t21: callsub S_GetHeadgear,"top",500, "Autumn Leaves",241,5270;
So if anyone could help me with this I would be very thankful.
Edited by windstonLink to comment
Share on other sites
2 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.