Can't Equip an Item, it says access none
Hey guys, please help. This is probably very easy for you but I can't figure it out by myself.
I wanted to equip an item from my inventory widget to my equipment widget. This is the custom event in equipment widget that suppose to populate the slots. But it says InventoryReference is access none.
...So I made another custom event called Init to initialize inventoryreference.
...And I call the Init function everytime I equip an item.
...But InventoryReference is still access none.
asked Jun 02 '17 at 08:45 AM in Blueprint Scripting
Now it works! just a simple initialization problem.
I initialized the variable inventoryreference in event begin play and in event construct.
I was stuck in this problem for far too long, now I can continue.
answered Jun 02 '17 at 09:30 AM
It looks like you connected the incorrect nodes when calling
Also, some more information on what class you are calling these from will definitely help!
answered Jun 02 '17 at 09:15 AM
Follow this question
Once you sign in you will be able to subscribe for any updates here