Jump to content

Gobln

Members
  • Posts

    2
  • Joined

  • Last visited

Everything posted by Gobln

  1. It took a little bit of time to figure out what was happening and then reproduce it (was using wrong extends class), but now it works perfectly. Thanks a lot!
  2. I'm currently trying to make a container that will only accept two items as valid items which can be put into the container, but I'm a little confused at how to make it correctly work. I've successfully made it so shift-clicking the items into the container will only accept the two items, however I don't know how to implement it for the drag and drop options (picking up item from inventory and placing it manually into the container). One old post I found here suggested making a helper class which you could call to check if the item was valid, however it didn't explain how to implement it actually being put into the container and removed from the players inventory. If anyone could help me out here that would be great.
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.