Hi,
no, global variables are not per player, they are per project.
you need dedicated fsm where you host variables for a given player, or you use Photon Player custom properties if you need to have these values across the network.
the question is how you spawn your ennemies.
within Photon the best way is to do that when you are the masterClient.
only the masterClient should be responsible for running the logic to spawn ennemies. then when players gets instantiated, your fsm on the player checks if it's the masterClient ( only one amongst ALL players on all running apps will be the masterClient), then it spawns ennemies which must also be networked so that it gets spawned on all connected apps.
Does that make sense?
Bye,
Jean