oke so i have this script where everytime it spawns in the world i want it to get a random actor (items) i have in my game (i have now just 1) take those actors out of a list want to save the name of the actor in a string variable to re use it later
after that i do some ai moving stuff (what works)
and then i want to get that name what i connected to that array what i get a random item out of that array and put it on a string variable and re use that name to destroy that actor (item)
my question now is that he will not get that the connection between the name in the beginning of the blueprint and the array item is the same as the set name on the end he does not see that connection and will keep destroying my npc how can i fix this?
thanks for any effort in helping me