Recent content by Robot_Nachos

  1. R

    Display equipment in mirror hotbar?

    Yep, that solved it.
  2. R

    Display equipment in mirror hotbar?

    Ok so before when I just tried use the UI designer to make a new equipment slot set it didn't mirror the existing slot set. I tried going simpler and duplicating the existing equipment item view slot container manually. That mirrors my equipment correctly, but also causes a null reference...
  3. R

    Display equipment in mirror hotbar?

    Oh, I'm sorry, Specifically I'm trying to make a hotbar that mirrors a slot in an existing item slot collection view that have their assigned equipment equipped elsewhere. I've tried making another equipment panel and disabling the slots I don't need but it doesn't seem to work and feels like...
  4. R

    Display equipment in mirror hotbar?

    I'd like to repurpose a mirror hotbar to display the players equipped items, rather than an inventory grid. Unfortunately I'm not quite sure how to convert the Equipment Mirror Hotbar script to read an Item Slot Collection.
  5. R

    Set field in item action at runtime

    Wonderful, works like a charm.
  6. R

    Set field in item action at runtime

    Ok that works fine, but GetItemSlotIndex needs an ItemStack so it puts out null when I click on an empty slot. Is making an item to represent an empty slot a good workaround? Or can I do something else?
  7. R

    Set field in item action at runtime

    Ah, I think see what's going on now. I'm getting a null reference because those equipment slots start off empty so there's no inventory for the itemInfo parameter to get. Does that sound about right?
  8. R

    Set field in item action at runtime

    Unfortunately, that doesn't seem to be the case.
  9. R

    Set field in item action at runtime

    So I've tried implementing this with a middleman component and I'm getting a null reference exception, any ideas as to what I missed? NullReferenceException: Object reference not set to an instance of an object...
  10. R

    Set field in item action at runtime

    So I have some equipment view slots that when you click on them they open an item grid that contains all of the appropriate items for those slots. this grid has an item action panel equips the item to a slot by its string. I'm trying to use a unity event to set that string whenever the player...
  11. R

    Smart toggle grid from item action button.

    I was using the move to collection item action, but yeah the inspector doesn't give any visual indication that a listener's event has been reassigned even at runtime. That's probably a unity thing though. In any case, I just ended up making a custom item action, works fine now.
  12. R

    Smart toggle grid from item action button.

    So I'm trying to create an inventory system where the player can click on an equipment slot to open an inventory grid with all of that slots items. I've made this grid and hooked its display panel's smart toggle up to an equipment slot with an on click event from the item view slot. And that...
Top