i have a variable in my players blueprint called CurrentHealth. I want that value of that variable to decrease if the player enters the pain causing volume. I cant figure out how to actually make that happen. What is the proper way to use pain causing volumes?
You can see the Pain Causing Volume in action in the “Volumes” Map of the Content Examples Project.
It emits events, which you can consume with “Event AnyDamage” on your Actor.
the content example for volumes was super unhelpful, but event anyDamage was exactly what i was looking for. Thanks!