Hey,
I successfully resized my inventory without encountering any errors. However, upon testing the game, I noticed that I could not scroll through my inventory items.
Screenshot: https://prnt.sc/btZgAB5JszEz
Thank you,
It looks like you're new here. If you want to get involved, click one of these buttons!
Comments
To be clear, are you referring to the clicking of the left/right arrows on the sides, or using the keyboard to directly navigate your Inventory menu (as opposed to the mouse)?
The arrows on the left and right edges will only have an effect if you have more items in the Inventory than can be shown in the Menu.
If you're directly-navigating the Menu, you'll need to set up your Menu to be directly-navigable. The Manual's "Navigating menus directly" chapter covers the main points.
Hey,
I'm referring to using the keyboard to navigate my Inventory menu directly. I have a few items in the inventory but still can't navigate between them.
Have you set up your Menu to be directly-navigable, and does your Menu rely on Unity UI?
The workflow depends on whether gameplay is active while the Inventory menu is being accessed.
I will need to see your Menu's properties, and the top of the Menu Manager, to understand the situation.
My Inventory menu relies on AC.
Here are my menu properties:
https://prnt.sc/4vE6Z2U3Do2g
https://prnt.sc/GBtP5ElqTJyi
https://prnt.sc/QrEMT3DhyeCR
https://prnt.sc/4uuFVIZ7_9Zk
Have you got Directly-navigate Menus when paused? check at the top of the Menu Manager?
Yes, already checked https://prnt.sc/QDraNkkzxA1v
Is the ShiftLeft button highlighing green, even if you can't navigate the rest of the Menu? If not, are any other Menus turned on at the same time?
What are your AC and Unity versions, and is the game in gameplay before pressing the "Open Inventory" input?
Yes, the ShiftLeft button highlights green when I press ShiftLeft, but I can't navigate between inventory items. And no other menus were turned on at the same time.
AC version: 1.78.0
Unity: 2022.3.3f1
Movement method: Direct
If you temporarily hide the InventoryBox element (by unchecking Is visible?), are you able to navigate right to the ShiftRight button element?
What keys are you using to navigate, and are they mapped to the Horizontal input in the Input Manager?
Yes, I was able to navigate right to the ShiftRight button element after turning off the InventoryBox element.
I'm using both (A & D) (Left & Right) keys. And yes, they're mapped to the Horizontal input.
https://prnt.sc/ntNIMhdvbFJn
Is it possible the InventoryBox element is being navigated, but without visual feedback?
Try re-enabling it, and then navigating right a dozen times (to go through all the slots) - does it then select ShiftRight?
If so, make sure that the Hotspot menu is underneath Inventory in the Menu Manager - this'll be necessary for it to display the selected item.
Good catch, Chris. I moved the hotspot menu underneath the Inventory menu and it worked. The inventory is working now.
I have another minor issue which doesn't require a separate discussion. How can I remove the character's ability to move up and down?
My character is still able to go up and down https://prnt.sc/IA4OEJkszdbx
Separate discussions are preferred if possible - as it aids others searching with similar issues.
The Player: Constrain Action can be used to limit vertical movement.
Thank you, Chris.