Hi
I’m trying to make a puzzle game with basic mechanics such as buttons, levers, etc. So i’m trying to make a door blueprint in which i can choose to which mechanic it casts to by making a blueprint in which i can choose the type of actor it spawns and then the door casts to it trough a reference variable. The problem is that i need to know whether or not the actor is active (like if the button is pressed) so i’m trying to figure out a way for the blueprint were i choose the mechanic to cast to the actor variable.
Sorry if it sounds a bit confusing, here is a visual interpretation
I already have most of it set up i’m just curious on how to cast to the actor blueprint in the mechanic blueprint.
Thank you.