So I have been playing around the the scoring when a player is killed; pretty much I am adding a point to the Owner of the AttackerPhotonView in the Die function of the Pun Health Monitor that killed the player. I end up building the demo level and menu and run 2 versions of the game in order to test it and notice that if the 1st player kills the 2nd player he gets no point; however if the 2nd player kills the 1st player the 2nd player receives the point as they should. Scoring works perfect on the 2nd player but not at all on the 1st.
Now however the 1st person can kill the turret and receives a point every time they kill it; they just cannot kill another player and get a point. I am adding the point by:
attackerPhotonView.Owner.AddScore(killScore); with killScore being an integer that is currently set to a default of 1.
Now however the 1st person can kill the turret and receives a point every time they kill it; they just cannot kill another player and get a point. I am adding the point by:
attackerPhotonView.Owner.AddScore(killScore); with killScore being an integer that is currently set to a default of 1.