Search Unity

Owner of the bullets in the network

Discussion in 'Scripting' started by miro382, Jul 25, 2014.

  1. miro382

    miro382

    Joined:
    May 5, 2014
    Posts:
    2
    How to detect owner of bullets in network (bullets must be visible - spell).
    I want get information who killed you in the game. thank you for help :)
     
  2. Arowx

    Arowx

    Joined:
    Nov 12, 2009
    Posts:
    8,194
    You would probably have to keep track of the player that creates the bullet, so probably store the players network ID in the bullet so you can refer back to which player shot which player.