So I’m trying to get a variable that is named the same and has the same function that is in every actor in the “Random Room” array. What is the best way to get it, because it contains Transform information I need to spawn something.
Just pull the variable out of the reference with a “getter” once you spawn the random room actor. Depending on what exactly the “Current Room” variable is (actor vs specific class type) you should be able to directly get the variable contained within it. If it is an actor class, so something generic, you will also need to cast. Finally, I believe you can actually set the array you have to be a specific object class instead of just an “actor” class, this will ensure that the spawned actor is already of the desired type without needing a cast.