Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
1

How do I know when a map is fully loaded?

Asked by 5 years ago

I have a problem with map loading times. The problem is I make every player's camera spin around the map to display it when it's loaded, but since there's a delay when it loads it seems to "jump" in time. So instead of waiting 5 seconds to display the map, it takes 1.

I want to pause the script until the map finishes loading to stop this problem, but I'm not sure how to do that. I see loading bars on other games so there must be a feature, unless it's some sort of placebo.

I tried to put a part on the bottom of the map model (by naming it "ZZZZZ") and using WaitForChild:

local map = game.ServerStorage.MapExample:Clone()
map.Name = "Map"
map.Parent = game.Workspace

game.Workspace.Map:WaitForChild("ZZZZZ")

But nothing seemed to change. Thanks in advance!

0
scripts cant help a load time. quality of coumputer and storage will depend how much of a game you can make before the game system makes less storage for 60fps quality imaginevreything -50 — 5y
0
His problem is not QUALITY :/ AIphanium 124 — 5y

1 answer

Log in to vote
0
Answered by
AIphanium 124
5 years ago
Edited 5 years ago

I believe this may help!


local map = game.ServerStorage.MapExample:Clone() map.Name = "Map" wait(5.2) map.Parent = game.Workspace

I don't know much...

But if it didn't help... i'm sorry :(

Ad

Answer this question