jos_valentinJ
Normal10mo ago
8 replies
jos_valentin

Clients and spawn points

What would be a good approach for this case: When the clients connect, I want to spawn them in specific positions that are stored in an array of transforms, so to have control of it I imagine that the first player must have the ownership of this container with the index in the respective model. The thing is that each player spawns themself also but they cant try to take an spawn point since could be a raise condition (When an spawn point is used, the index is changed) son 2 players can be spawned at the same spawn point. Would it be good to use an RPC in this case? So the owner of the spawn points send an Spawn event with the target point position for a player?
Was this page helpful?