Hello all !
So i’m creating my first simple game and i’m loving learning how to use unreal and all of it’s possibilities.
My problem is that i’m trying to move an object (actor) after having used a blueprint :
In this case, my blueprint is a chain that i pull down, and i want my bridge to fall down so i can go over a spike pit.
Could you elaborate a little bit more? What do you mean by “after having used a blueprint”. If possible, try to attach an image of your problematic blueprint.
It is much clearer now. To clarify a couple of things. Your Chain actor is currently possessed the PlayerController right? Meaning that it can receive inputs from the the player (you).
In the Bridge Actor, you have an Event called Bridge. Who is calling this event?
There are several ways of doing this. The easiest way is for you to get a reference to the Bridge Actor in the Chain actor and call the event directly.
Another way is to have a Blueprint interface implemented by the Bridge and listen to messages. The Chain actor could then send an interface message for the Bridge to react to.
So i’m trying to do the first and easiest way you’ve told me to do it. I sadly can’t edit the value to put the Bridge actor to the reference in the chain blueprint.
Could you possibly be more specific please ? I’m new and i have some difficulties with a couple of terms. Yes i can change the value of the variable in the level editor hence the fact why i thought using the level blueprint would make it easier.
Sure, I just need for information on how your project is setup. If I understood correctly you already have a Bridge Actor and a Chain Actor in your Level correct? If that is the case, in the picture you sent where you have the variable Bridge_Mesh, I said that you could change the Variable Type to Bridge (or whatever the name of your Bridge blueprint) and the combo box you highlighted should be enabled for you to select a reference to the Bridge Actor.
Oh wow ! Thank you so much ! It has unblocked me in more ways than just the bridge and chain thing.
So what i did is just change the Variable Type to Bridge as yo usaid and it has given me the possibility to change the value !