Essentially, I have been building a game, revolving around the idea of being directed to random airports, as the player flies around looking for various objects. I have an actor class called airport, which refuels and gives some bare dollar to the player on “collision”(It more flies over but you know).
In my player controller, all instances of the airport class are put into an array. The array then picks a random airport which will be the one the player will fly too to get refuelled. Through a blueprint interface with a selected airport, IN node and a correct airport out node, this then goes to an if statement in the airport BP so that only the selected airport will refuel the player. It also gets HUD for when I want a HUD visualisation for the correct airport of some form or another.
The thing is, that hasn’t quite happened and I’m not sure how to debug test to see if the array actually gets anything in it. I deleted all other airports in my map, bar one, and when I fly over nothing happens, no refuel ect. I think I have just gone about the whole thing the wrong way but here are the sections of my BP I am referencing.
Any suggestions would be fantastic. Sorry if it hurts you to look at it.