Jump to content
  • Advertisement
Kleric

Unreal UE4, How do I Get a Boolean variable to reference from one Blueprint to another?

Recommended Posts

I'm in need of making a Boolean variable public somehow, so that multiple blueprints of mine can reference when an action can and cannot be done. I searched around already, finding answers that didn't completely apply, were outdated missing their explanation images, or were simply confusing.

This is what I'd like to accomplish, without the error of course.

640328140_SC1.thumb.png.2032ce0614e388f8f03c624a02a866fb.png

I do have the "Has Weapon" variable set as visible (The eye icon is open), I am just unsure on what to do from there to allow these sword pickup BP's to reference that Boolean variable in my character blueprint.

 

Maybe I am going about this wrong; any solutions are welcome.

Share this post


Link to post
Share on other sites
Advertisement

I figured it out. Just like my "Set" Boolean variables, I had to extend off of the casting of my other blueprint in which the variables originated, and typing in the variable I needed allowed me to use "Get" it as well, and there I could plug it into my branch with no problem.

SC 1.png

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

GameDev.net is your game development community. Create an account for your GameDev Portfolio and participate in the largest developer community in the games industry.

Sign me up!