I got it working but i’m not sure why it is working. It seems i cannot set the “item”(actor) at all. The struct still knows that the “item” should be the same as the blueprint-actor, why is that?
This was the original problem: I cannot set the “item” that is type of actor. I can change everything else.
Data is passed through interface and it uses the item to know the actor. So it is crusial.
How can the struct know that the actor in “item” should be the same as the blueprint i am in? If i look the iteminfo variable that is type of inventoryStruct i can see that everything else is set except the item but when i set members in the struct the item seems to be correct, why is that? How can the struct know what item i wanted to set as the item when it is none in iteminfo… Althought iteminfo is the one that i use to set members.