|
Not sure how easy it is to make a distance mechanism for shotguns
|
its easy. simply add the x/y position of the bullet where it began and detect the x/y with the
onActionProjectile()/
onActionProjectile() function. Than you can use a distance formula between the first x/y and the 2nd x/y -> you have the distance. depending on that you can change the damage than