Question about DMG
#2

GetDistanceBetweenPlayers(). Then use something like damage = 100 - distance. Optionally add a negative or positive multiplier to decrease/increase the damage, e.g. x0.85 for 85% damage or x1.25 for 125% damage.
Reply


Messages In This Thread
Question about DMG - by AndreiWow - 18.01.2017, 15:44
Re: Question about DMG - by Vince - 18.01.2017, 15:48
Re: Question about DMG - by Logic_ - 18.01.2017, 15:50
Re: Question about DMG - by AndreiWow - 18.01.2017, 15:58
Re: Question about DMG - by Vince - 18.01.2017, 17:14
Re: Question about DMG - by GoldenLion - 18.01.2017, 19:53

Forum Jump:


Users browsing this thread: 1 Guest(s)