I don't want any player to start playing the game before my content is loaded. In other words, I want something like
LoadMyContent()
--wait to finish loading, can take 5 - 10s
spawnPlayer()`
I don't want any player to start playing the game before my content is loaded. In other words, I want something like
LoadMyContent()
--wait to finish loading, can take 5 - 10s
spawnPlayer()`
If you mean the player's character, you could turn off 'Players.CharacterAutoLoad (Wiki article), and call Player:LoadCharacter() (which must be called server-side) when your game is ready to spawn the player.
This discussion is preserved as it was. New answers, comments, and votes are closed.
2 comments
I turned off autoload and great, it doesn't load. Then as in the example, I've added a an event to load the character but it doesnt load, actually seems like the event never gets triggered. What's up?
I'm not sure, I don't know what the event you're using is and in what context.