HUD opacity by range from enemies
Hey there, usually to get the distance you subtract one location from the other. You can also use the node Get Distance To instead of doing that. The enemy distance variable will hold the value between 0 and 1 (it might surpass that but thats not problematic i would say, worst case you can clamp it from 0 to 1) so in your umg widget you set the opacity to the value that comes from that variable.
answered Jan 18 '18 at 03:07 PM
Follow this question
Once you sign in you will be able to subscribe for any updates here