Setting a Boolean in one Blueprint from Another Problem
I am trying to set up a simple "Kill Box" (a trigger volume blueprint) for a 2D platform.
You overlap the Kill Box it would call upon a true or false Boolean in my Characters blueprint disabling input, playing an animation and reload the level (aka die).
The dying part already works and instead of playing an animation I have a string of txt ("you are dead") to let me know things are working.
I made my kill Boolean inside my Character Public and used the "Cast To" function in my Kill Box to set it to true.
This will not work but my string of text "you are dead" plays when I come into contact with my Kill Box but my input will not disable and my level will not reload.
I know I could easily do it all via the World Blue prints but I would rather be efficient and just create a blueprint I can plop down that has the functionality already set up.
Please help me and check out the images below.
Mastace, the problem is you aren't calling the "dead" event, you're just setting the variable. Just call the event in te Kill Box BP after setting the variable, and that should work for you.
answered Apr 25 '16 at 12:45 PM
Follow this question
Once you sign in you will be able to subscribe for any updates here