Accessing boolean from First Person Character to use in Widget Blueprint
In my game, I have the current ammo and total ammo on the screen (above the green bar.)
I want the current ammo in the mag to blink red when LowAmmo? is true (when the ammo in the current clip is less than or equal to 10.) In FirstPersonCharacter, LowAmmo? is set to true when this happens. I try to access the variable in WidgetBlueprint and call a branch that plays the animation when LowAmmo? is true.
The animation does work, I tested it out before setting up the branch and I'm not sure why this wouldn't work. I've asked for help from a number of people and they can't seem to do it either, maybe the images will help...
Please forgive my cropping skills, the tool is kind of weird...
asked Jul 08 '17 at 09:11 PM in Blueprint Scripting
Your Event Construct will only called once. It does not care if your ammo is low at a later point in time. Logic Error on your side ;P
answered Jul 08 '17 at 09:57 PM
Follow this question
Once you sign in you will be able to subscribe for any updates here