Overall what I want to do is when Player1 press “Q” he can see the aura aka the particles to be at the position of Player2 “and only Player1 can see that for himself i want it to make it like that and vice versa for the other players” i am useing IDs to trying to set it up but it is not working.
-in that code only you as a Player1 get your own particles and i dont want that.
I am useing Cameras for the IDs
Hello and welcome. Anytime you want an item only to be seen by the player in the current game (all the players are just running their own copy of the current game), you can make sure that it is not a multiplayer object. You also disable synchronization of any variable that the player will use to communicate with those non multiplayer objects so there will be no squabbling among the players as to whose value goes in the variable at a given time. They each have their own private variable to communicate to their own private non multiplayer objects. It’s a good idea to put the variables in a structure so you only have to disable the parent at the Beginning of Scene instead of 5 or 6 variables.
You can assign id to the player skeletons when they join and take ownership. Then you can say, skeleton is not owned by current player, create blue aura or whatever.
You can just have 1 camera in the game. A non multiplayer object. It will go to the player you assign it to, like multiplayer current player number (in the lobby). So everyone will get their own camera because everyone is playing the game on their own pc so everyone has exactly 1 camera in their game, their own. Unless of course there is some reason to have 4 cameras in one game, like you want to split each player screen 4 ways so they can see the view from the other players.
Ok these are just hints until someone comes that has answers.
2 Likes
Yeah thank you for the advice i will try that. I have 4 cameras with IDs because that was the only way i can make the multyplayer work, and set it up so like when player joins the camera already exists and just snaps to the player and takes ownership, i also tried to make it with just 1 camera but didnt know how exactly to do it so, i just stick with my own system to make it.
Okay I did what you told me, but now other players that dont have skeleton characters can trigger the particles.
-also not evryone gets there particles that they need to have