I’ve got an array of actors, called “Weapon Inventory”.
When I push a button on my keyboard i’m trying to check if my Weapon Inventory contains any items of targeted class.
when debugging i can see that my array contains 1 item.
But it seems like the FIND, always returns -1. Is this the wrong way to go on about finding an Actor in an array?
Any suggestions?