Forum rules - please read before posting.

Remove inventory issue

Is that possible to remove inventory through the interaction command (inventory-remove) without returning it to the inventory slot first? 

Comments

  • Sorry - I don't understand.  How do you mean, exactly?
  • I have an inventory item. After using it (dragging to the desired object), I want it immediately disappear. I made an interaction for that - with the action Inventory-remove. But in this case my inventory item doesn't disappear immediately in my scene. It returns back to the slot for a millisecond and only THEN disappears. I want to avoid this returning. How can I do that? 
  • I will have to look into this for you.  It's not something you'll be able to do, you'll wait to wait for a fix to be issued in the next update.
  • Actually, this might be quite simple - at least for a temporary fix.

    Open up PlayerInteraction.cs, and assuming you're using v1.49a, remove the following around line 920:

    yield return new WaitForSeconds (0.1f);
  • Works like a charm! Thank you, I appreciate your fast responses very much!
Sign In or Register to comment.

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Welcome to the official forum for Adventure Creator.