Hi
My player changes room and has his inventory lost and new ones replaced for that room.
I have done all the losing inventory and adding the new one's and they are indeed there.
Problem: only the last inventory item shows in inventory window. You need to scroll UP (north) inventory window to see other inventory items.
All Inventory items are given their ID when adding.
Obviously i want the inventory items to fill the Inv window replacing the previous once.
I can't seem to solve this issue at the moment. Can you help?
cheers
barefoot
If the only problem is that the player have to scroll up the inventory window manually, couldn't you just add the InvWindow.ScrollUp command in the script after the inventory items are replaced?
Hi
Thanks for your post Gudforby
invCustomInv.ScrollUp(); works but as the manual states:
Quote
will scroll the invMain inv window up one row.
I have vertical inventory window with 1 item per row so I need something to make it show more items (I have 7 inv items but obviously only so many in window due to height and width. maybe 5?)
barefoot
Hi
This may be off-hand but it works and now shows many items in inventory window:
invCustomInv.ScrollUp();
invCustomInv.ScrollUp();
invCustomInv.ScrollUp();
invCustomInv.ScrollUp();
invCustomInv.ScrollUp();
invCustomInv.ScrollUp();
barefoot
How about this instead:
invCustomInv.TopItem = 0;
Hi Khris
I'll give that a try.. it's less to add..
Thanks
barefoot