Announcement

Collapse
No announcement yet.

Trouble making HUD buttons hide and unhide meshes

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

    Trouble making HUD buttons hide and unhide meshes

    Hey,
    So as the title says, I am having trouble getting HUD buttons to make meshes on my character be hidden and unhidden.
    So far for testing purposes I have gotten the mesh to be hidden and unhidden using a key which is pretty easy because its in the same blueprint.
    Click image for larger version

Name:	1.JPG
Views:	1
Size:	34.9 KB
ID:	1138983
    I'm not really sure how to go about getting the button being pressed in the HUD blueprint to tell a mesh in the character blueprint to be hidden.

    I have all the buttons and hit boxes set up correctly which print specific text to the screen so I know the buttons are working properly. I have also created a interface event blueprint but where to go from here I don't know.

    Anyone got any ideas?

    If any other information about my HUD blueprint or anything else is needed let me know and I'll provide right away. I'm refreshing this every two seconds!

    Thanks!
    Last edited by AutoLiMax; 09-30-2014, 02:06 PM.

    #2
    What I want is if a bool var is true or false in the HUD BP then a mesh in the Character BP is either hidden or unhidden.

    Its the communication between the HUD BP and the character BP that I'm having trouble with I think.
    Like how would the Character BP know when the bool var in the HUD BP is true or false?

    Anybody?

    Comment


      #3
      I figured it out using cast to. But I would have rather done it using the bpi but this works fine.
      Click image for larger version

Name:	2.JPG
Views:	1
Size:	57.3 KB
ID:	1057261

      Comment

      Working...
      X