Thread: GBaddy v.2.0
View Single Post
  #20  
Old 09-15-2010, 11:24 PM
cbk1994 cbk1994 is offline
the fake one
cbk1994's Avatar
Join Date: Mar 2003
Location: San Francisco
Posts: 10,718
cbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond repute
Send a message via AIM to cbk1994
Quote:
Originally Posted by devilsknite1 View Post
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".
__________________
Reply With Quote