Calling a function from another blueprint, expecting an output variable

So, I have array variable “Rooms” inside of its own blueprint. The array contains various actor classes of my room blueprints.

38506-array1.png

Also in the blueprint is a function to output a random room class:

I am currently trying to call this function from another blueprint one I collide with a hitbox. Everything works great, up to the cast.

Not sure that I’m doing it right, and I’ve looked for well over an hour for a solution, but nothing seems to specifically assist me in this obstacle.

Got it figured out. Forgot to change the game mode in my settings.