Quote:
Originally Posted by devilsknite1
Thanks to both of you! 
Now it still subtracts from player.hearts, when that's not defined anywhere... Any ideas?
|
Classic hit detection is a bit peculiar. It loops through all GANIs in the level and looks for the "sword" gani, and if it's present and in position to hit the player, the player's hearts are subtracted.
The easiest solution is just to make a new GANI named "myserver_sword.gani" (which is a clone of sword.gani) and use this in place of "sword".