How do I get a variable from a character blueprint in to my level blueprint?
I have a blueprint which checks if a character is in my pre-formed array of characters, and if it is it will cast to the character and affect the movement of it.
My question is, how do I get the 'Health' variable from one of these character blueprints, and alter it from within my level blueprint?
I ask because I'm using overlaps, which are in the level blueprint, but would like to change the health value of any player within the radius each second until they leave. I can't seem to figure out how to pull my 'Health' variable from one blueprint into another.
Thanks in advance!
asked Feb 14 '18 at 10:13 PM in Blueprint Scripting
on actor overlap get the overlapping actor and you might have to cast to that character to get the variable you need.
answered Feb 14 '18 at 10:16 PM
Follow this question
Once you sign in you will be able to subscribe for any updates here