how to add one item to array in C++ ?
bp example:

Arr.Add(MyItems.ItemOne);
the problem is the array takes all the items from MyItems instead of ItemOne
how to add one item to array in C++ ?
bp example:

Arr.Add(MyItems.ItemOne);
the problem is the array takes all the items from MyItems instead of ItemOne
What types are the array, MyItems and ItemOne?
MyItems is the array of struct and it has one variable ItemOne of type FName which stores the name of the item
concept in blueprints but it takes 2 variables type and id, mine is the same and mine takes one variable only ID of type FName
Can you post the full snippet of your code?
Sir this Issue is solve in this SOLUTION