Blockland Forums > Modification Help

Damage Location

Pages: (1/1)

Space Guy:

I know how to check if a damage is in a certain area around you, from TheGeek's Headshots, but is it possible to check whether it is in a certian box in front of you? I'd like to make a sort of shield but it currently works all around your torso rather than just the shield itself.

I know a simple method with X/Y pos + Rotation but it won't work if you are aiming up or down.

TheGeek:

Look at the source code of the chainsaw.

Space Guy:

Clever. I didn't know getDamageLocation worked - didn't seem to in 1.02.

Pages: (1/1)

Go to full version