hi guys, so i finally figured out a problem to my photon issue, i needed each player to individually have their own bullet, e.g player1 to shoot player1 bullet and player2 to shoot player2 bullet.
this is great, but setting the tags for my players is the issue, as each client handles their management differently.
my initial method,
get number of players in room (maximum players = 2), this is an int variable
[int compare]
if [number of players in room] is equal to one,
set tag to player1,
else if [number of players in room] is greater than one,
set tag to player2,
This works great on the master client because we have to wait for player2 to join, but player2 immediatey sets all instances of players to player2 tag which causes it not to work properly.
is there a way i can get the other player instance, so i can easily set the tag.
thanks!!!
ps photon is awsome!
thanks to jean for the advise