Announcement

Collapse
No announcement yet.

How to access a boolean var in one blueprint from another?

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    How to access a boolean var in one blueprint from another?

    Hi, I'm using the free AnimationStarterPack from the UE4 Marketplace. There is a boolean variable in the AnimBlueprint called "jumping". I would like to access this var from the CharacterBP to determine whether or not the player can crouch. I tried making the variable global, but was still not able to access it from the characterBP. If you need me to explain in depth or need pictures, please ask, thanks!

    #2
    Making a variable "editable" has nothing to do with what blueprints can access it, it simple makes it able to be edited while its in the level...........

    What you need to do if you want to access a variable that is on you animation blueprint is get the mesh from the components list in the character bp, drag it in to event graph, drag out of it and getaniminstance, then cast to your animation bp then drag out of that to get the variable you are looking for..........
    Come Join Me On Patreon : https://www.patreon.com/iamjohngalt75 Or Visit Me On Youtube : https://www.youtube.com/channel/UCpu...wyusqni1ZnWdBQ

    Comment

    Working...
    X