Reply to Re: 2 more development qestions.
If you don't have an account, just leave the password field blank.
Try to set sp_nohit() to 1 just before using hurt(). When nohit() is 0 and you use hurt(), it'll trigger hit() again, which can cause weird things to happen.
I don't think you want sp_nohit() to be 1 all the time, since then you could hit the building with ordinary fists, and it wouldn't make a punch sound, which would be rather weird.
Don't forget to set it back to 0 after the hurt() line.
I don't think you want sp_nohit() to be 1 all the time, since then you could hit the building with ordinary fists, and it wouldn't make a punch sound, which would be rather weird.
Don't forget to set it back to 0 after the hurt() line.