jos_valentin
jos_valentin
NNormal
Created by jos_valentin on 4/3/2025 in #🤝ask-a-question
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?
9 replies
NNormal
Created by jos_valentin on 4/3/2025 in #🤝ask-a-question
Instantiate callback for clients?
Is there a callback to subscribe when an object is instantiated at runtime? So the other clients know that object has been created
6 replies