Hey guys, I was working on falling damage when the character fall … everything works fine but the problem is it’s not exactly like I want
This is my Blueprint for the damage
I created something so
“if the height between 1000 and 1500 then damage is 10 on health”
“if the height between 1500 and 1750 then damage is 20 on health”
“More than 1750 the character should die because the damage 300”
Is it possible to do something in the Blueprint like calculating the height and do something on the health like:
If fall height units greater than 1000 do this
Damage = NumerOfUnits -1000
CurrentHP = CurrentHP - Damage
For example if you fall from from 1077 units then you will get damage on health -77
Is it possible to do that using Blueprint or I MUST use C++ ? I prefer Blueprint to be honest because it’s easier to edit by anyone!