View Single Post
  #4  
Old 09-07-2010, 06:46 AM
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 Cubical View Post
have it send the players account as a parameter every time the player attacks as you would with damage then have it check to see if it is dead everytime it takes damage and if it is either have it join a class for player functions or join it to the player directly. then do addExp(amount); you can also do some checks to see if they are in a party and if so evenly distribute it throught the party.
No reason to send the account as a parameter. The player will be in scope in triggers.
__________________
Reply With Quote