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.

140117-initialize.png

…And I call the Init function everytime I equip an item.

…But InventoryReference is still access none.

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.

Hey ,

It looks like you connected the incorrect nodes when calling Init, try plugging Self into the Target of Init, and Equipment Widget into the Inventory of Init.

Also, some more information on what class you are calling these from will definitely help!