Jump to content

Photo

Check if enemy is hit


  • Please log in to reply
No replies to this topic

#1 MoscowModder

MoscowModder

    Sometimes lurking. Rarely posting.

  • Members
  • Location:Wisconsin

Posted 14 October 2010 - 01:07 PM

I need a function that can check if an enemy is either hit or killed (one or the other). Either way, this calculates the damage you do to enemies. Therefore, the function for a hit enemy checker needs to make sure the enemy is damaged (and not hit with a boomerang for example), and the function for a dead enemy needs to report how much HP the enemy had (to begin with). With this I'll be able to start writing my EXP system.

Thanks!


1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users