two inventory questions (Setting top item, mousewheel scrolling)

Started by Mordalles, Wed 28/06/2006 15:01:37

Previous topic - Next topic

Mordalles

1. i have two characters in a game. the one character has a lot more inventory items than the other. when i switch from the character with lots of items to the character with fewer items, the inventory screen goes clean, and then i have to manually scroll up to see his inventory items. is there a way that i can just scroll the inventory up to the topmost inventory items, each time i switch between players. I'm worried the player is going to think that the character doesnt have any inventory items anymore when he switches between players.

2. is there a way to scroll inventory by using the mouse wheel?

thanks.

creator of Duty and Beyond

Ashen

#1
1)
Try a manual and/or forum search. This post from Ghostlady should help you.

2)
If you check the 'Enable mouse wheel support' option on 'General Settings', you should be able to call Inventory.ScrollUp/Down from on_mouse_click, using the eMouseWheelNorth and eMouseWheelSouth parameters. I wouldn't recommend making this the ONLY way to scroll, though, for those few people left without a wheeled mouse.
I know what you're thinking ... Don't think that.


SMF spam blocked by CleanTalk