Hi, I am trying to set monster kills per peer. To do this I think I need to set a variable on the monster object for the last player to hit the monster so when the monsters health hits 0 it takes the last hit variable (players name) and adds a kill to that players kills. I plan on doing this by the following is possible:
Player left click spawns a bullet, bullet is given a variable Shooter which will be the player that shot it, Bullet collision with monster then transfers the Shooter variable to the monster variable LastHit (Player Name), Monsters health = 0 then Add 1 to kills form LastHit (Player Name)
Is this or a variation of this possible?
Thanks