Forum rules - please read before posting.

Can't Add Inventory Item

Hi, I'm very new to Adventure Creator. I'm trying to add an Inventory Item through an action, but it's not working even though I think I'm following all the steps. Could anyone help me figure out where I'm going wrong? The whole action is running and printing the dialogue for it being added, but when I look in the inventory, nothing shows up (and yes I have a picture for it in the settings).

Comments

  • Welcome to the community, @alexn. What are your AC/Unity versions?

    If you select your Player in the Hierarchy at runtime, check the bottom of their Inspector - that will list all of their current Inventory items. Does it increase from 1 to 6 after running the Action?

    That you have Carry on start? checked means that the Item should be shown even before the Action is run. Are no Items showing at all when the game begins?

    We can check if this is an issue with your UI by temporarily switching over to the default set. At the top of the Menu Manager, set the Asset file to Default_MenuManager and re-run the game. Do Items then show?

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.