How To Master Inventories | Hotbar Outlines | Unreal Engine Tutorial

แชร์
ฝัง
  • เผยแพร่เมื่อ 5 พ.ย. 2024

ความคิดเห็น • 7

  • @JustinGameDev
    @JustinGameDev 3 หลายเดือนก่อน +1

    for anyone who has more than 3 slots, for the mouse wheel up do exactly what he did but change the - - (decrement) to a + + (increment) then change the set current hotbar slot to 1. For the mouse wheel down, change the != (not equal) to the amount of slots you have but subtract the amount by 1 (basically your last hotbar slot) then change the + + (increment) to a -- (decrement) and change the set to 1 less then the value of your not equal. After all of this, duplicate the mouse wheel up script we just wrote and change the not equal to the amount of slots you have but subtract the value by 1, now keep the increment but connect the exec pin (the white one) to a increment. Then change the set current hotbar slot to a -1. After this duplicate the mouse wheel down script and change the not equal (!=) value to 0. Then connect the white pin of the decrement to an increment and change the current hotbar slot to however hotbar slots you ACTUALLY have. Hope this helps y'all.

    • @MrKnowBodyUE5
      @MrKnowBodyUE5  3 หลายเดือนก่อน

      Or… for scroll wheel down change the != 2 to be != the amount of slots you have -1. That’s all it would require.

    • @JustinGameDev
      @JustinGameDev 3 หลายเดือนก่อน

      @@MrKnowBodyUE5 oh lol i over did that

  • @AVA-cz5jk
    @AVA-cz5jk 3 หลายเดือนก่อน

    Get(Ref) can be more performant because it doesn't create copies of the data. Get(ref) simply modifies the object. That's all I know(

    • @AVA-cz5jk
      @AVA-cz5jk 3 หลายเดือนก่อน

      I don't understand why my hotbar doesn't work the way it should... He swaps items only if I drag him to another slot as quickly as possible. Otherwise, it just stays in the same place. The problem is similar as at 8:47

    • @MrKnowBodyUE5
      @MrKnowBodyUE5  3 หลายเดือนก่อน

      Thanks very much!

    • @mnemosynegates625
      @mnemosynegates625 หลายเดือนก่อน

      @@AVA-cz5jk Running into this issue too, can only drag and drop the hotbar right to left quickly but seems to work fine from left to right . Did you manage to find a solution?