I created a pain causing volume. I want to increase the damage per second after a set period of time. I tried using the “Cast to PainCausingVolume” function in the level blueprint, but I have failed to figure out how to get a reference to my single pain volume with it. I was able to get the reference by using the “Get Actor of Class” function and accomplish the damage change I wanted, but I would like to learn how to get the reference using the “Cast to PainCausingVolume” function. I thought maybe I could do this by converting the volume to a blueprint, but I have been unable to convert it to a working blueprint, it seems like maybe you are not supposed to do that.
Thanks for any insight!