[Solved] Problem with Cycle Inventory Items

  • #1, by orangecescaThursday, 22. March 2018, 09:34 6 years ago
    Hey everybody! This is my first post in this forum, I'd like your help with a couple of things. I've tried the 'Cycle Inventory Items' script and it works well but I have two main problems that i can't figure out.

    First of all, the basic scrolling system of the inventory (the one that uses the scroll items UP/DOWN, I hope you understand what I'm saying) doesn't work properly and the scrolling of the inventory doesn't stop at the first or last slot but goes in a loop.

    Second and most important problem: every time that an object gets used and removed from the inventory leaves an empty slot, and the player it's forced to use the buttons for the "scroll item" to fill the blank slots.

    Is there a way to fix these problems? (For reference: my inventory is a classic horizontal bar with 8 slots.)

    Thanks in advance for your help and I hope I've been understandable with my explanations!

    Newbie

    3 Posts


  • #2, by afrlmeThursday, 22. March 2018, 13:29 6 years ago
    When adding/removing items untick the scroll to added item option. It seems to be related to that. Another member had the same issue recently & we figured out that that was what seemed to be causing the issue.

    Imperator

    7278 Posts

  • #3, by orangecescaSaturday, 24. March 2018, 10:57 6 years ago
    When adding/removing items untick the scroll to added item option. It seems to be related to that. Another member had the same issue recently & we figured out that that was what seemed to be causing the issue.

    Thank you!
    This solved the "empty slot" problem, but not the "loop" of the inventory. Is there an alternative method to scroll the inventory via mouse wheel without the Cycle Inventory Items script?

    Newbie

    3 Posts

  • #4, by sebastianSaturday, 24. March 2018, 11:30 6 years ago

    Thread Captain

    2346 Posts

  • #5, by afrlmeSaturday, 24. March 2018, 11:39 6 years ago
    try  this :

    haha. Forgot all about adding that to the wiki. Memory like a goldfish sometimes.

    Imperator

    7278 Posts

  • #6, by orangecescaMonday, 26. March 2018, 19:48 6 years ago
    try  this :

    Thanks, Sebastian, it works perfectly smile

    Newbie

    3 Posts