#Multiplayer Synchronizer Node Unable to Use a Different Spawn Path

10 messages · Page 1 of 1 (latest)

spark junco
#

the multiplayer spawner only syncronizes spawns of direct children of the node specified in spawn path.
Your script adds the player as a child to the node of the script, and since your world node doesn't have a script attached, i guess that it's the script of the Main-node. if you want the player spawns to be syncronized you have to add it as a child of the World node.

golden tapir
#

How would I do that?

spark junco
#

just like you enable or disable the camera. $World.add_child(player)

#

i also don't think that you have to do call deferred here, but who knows.

#

probably important for someting else in that tutorial.

golden tapir
#

Didn't work.

keen elm
#

You need to instantiate the scene before adding it as a child

#

var player = player_scene.instantiate()
$World.add_child(player)

golden tapir
#

Thankyou! :D