Can anyone help me how to make an npc with temporary array.
The npc should be like this:
Talk to npc then selection of Add Item or Close.
After clicking Add Item, it will ask for Item ID then Item Amount.
Then it will show the item name and amount after clicking next.
( After next it will show the current item list and it will show the same menu (Add Item or Close) )
After clicking Add Item again, it will do the same then after adding item id and amount it will show the list again including the latest item added and the same menu.
When you click close, it will clear the array.
Question
GodKnows Jhomz
Can anyone help me how to make an npc with temporary array.
The npc should be like this:
Talk to npc then selection of Add Item or Close.
After clicking Add Item, it will ask for Item ID then Item Amount.
Then it will show the item name and amount after clicking next.
( After next it will show the current item list and it will show the same menu (Add Item or Close) )
After clicking Add Item again, it will do the same then after adding item id and amount it will show the list again including the latest item added and the same menu.
When you click close, it will clear the array.
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.