Hi, new day new problems :D

So, first I would like to present a video of a problem: VIDEO - it can be loud, especially later, so I reccomend to turn off the audio or set it to about 50% :)

As you can see, there are red balls on ground, which is two items to collect: Sword and Axe. First, I go for the sword, equip it by drag 'n' drop function and "holster" it. I have two slots for weapon and by entering "H" on keyboard I managed to switch game state from "Weapon In Hand" and "Weapon Holster".

Next step, I go for an axe. And there is a strange thing going on: suddenly the sword appears in my hand... And by switching weapons, I have them multiplied by two - on the back and in my hand :D I have to "holster" it and then everything works fine. I can switch weapons by inventory, but weapon itself shouldn't be equipped on collection.

For the first collected weapon, never mind if this is an Axe or a sword, it come down to the inventory, which is great. The problem occurs when I'm picking up another weapon ;/
  • I can at least guarantee that collecting an equipment doesn't equip it automatically, unless you e.g. set up an Added Schematic in the inventory schematics (Inventory > Inventory Settings) to automatically equip something.

    The rest is hard to say, I'd need to see your equipment slot setup, the equip slot setup of those weapons and what functionality you use when using the H key (I assume a schematic).
    Please consider rating/reviewing my products on the Asset Store (hopefully positively), as that helps tremendously with getting found.
    If you're enjoying my products, updates and support, please consider supporting me on patreon.com!
  • I think it's something messed up with my "H" schematic :D

    image

    Basically, it should first check if any weapon is equipped (first node), then check the game state (if weapon is "Holster" or not) and play animation/check state. But then, why it shows another weapon of the same kind (sword) after collect axe?
  • Looks correct - there's only checking of equipment being done, no equipment changes.
    After collecting the 2nd weapon, is it actually equipped on an equipment slot or just displayed via equipment viewers? You can e.g. check this either in an equipment menu or via the inspector of the combatant's game object.
    Please consider rating/reviewing my products on the Asset Store (hopefully positively), as that helps tremendously with getting found.
    If you're enjoying my products, updates and support, please consider supporting me on patreon.com!
  • After picking up first item and equipping it - the Equipment Viewer shows Sword, which is correct:
    image

    Then, I holster it and go for an Axe.

    But when I'm picking up second item, suddenly it appears in both sockets:
    image

    Equipment Viewer still shows "Dragonblade Sword". And it's still fine, because I don't want to equip an Axe yet. But why Sword prefab shows up suddenly in both sockets ;/?

    These are my settings for Equipment Slot and Equipment Slot Template:
    image
    image
  • Hm, think you can send me a Unity test project to check this out myself?
    Please consider rating/reviewing my products on the Asset Store (hopefully positively), as that helps tremendously with getting found.
    If you're enjoying my products, updates and support, please consider supporting me on patreon.com!
  • I sent the project on your e-mail.
  • Hi, do we have some update in this issue?
  • Hm, where did you send the project?
    Checked my emails and didn't get one around that time (April 24).
    Please consider rating/reviewing my products on the Asset Store (hopefully positively), as that helps tremendously with getting found.
    If you're enjoying my products, updates and support, please consider supporting me on patreon.com!
  • I sent it to contact@orkframework.com - it was a link from SendBig. I think this link is dead by now :D
  • Can you send it again?
    Checked my emails again and couldn't find it.
    Please consider rating/reviewing my products on the Asset Store (hopefully positively), as that helps tremendously with getting found.
    If you're enjoying my products, updates and support, please consider supporting me on patreon.com!
Sign In or Register to comment.