Hi,
What's W.O.W and L.O.L ?
PHOTON / CUSTOM ROOM PROPERTIES CHANGED is not an action, it's a global event, you are getting confused here. the action to set and get room properties are
https://hutonggames.fogbugz.com/default.asp?W1134https://hutonggames.fogbugz.com/default.asp?W1116https://hutonggames.fogbugz.com/default.asp?W1115https://hutonggames.fogbugz.com/default.asp?W1114Now, to create an enemy over the network, you simply need to have it as a prefab with a photonNetworkView attached to it, and instanciate it using the action "Photon Network Instanciate". That's your minimal requirments for this to happen.
Which player kills the ennemy is compute at the time of killing, during the killing, the bullet or the enemy will register the killing somehow, and the bullet or the enemy will have to find out the player reference, this has nothing to do with networking here, you can design this logic without the need for a network enabled game.
Can you describe why you want to know which player killed which ennemy? if it's for scoring, the logic can be implement on the enemy, on the player or on the bullet, but for all cases, I think you will need a "scoring Manager" that will listen to all the killing, and deal with score attribution. You woud have a global event "ENEMY KILLED" for example and the string or int data of that event would reference the player. To have this networked, you can either fire that global event as a RPC event for example, so when a player is killing an enenmy in one of the running instances of your game, all other instances will catch this using thet "ENEMY KILLED" global event.
You do not need a dedicated server nor a headless unity instance running on a server, all this can be perfectly achieved using Photon Cloud.
Bye,
Jean