How can i wait until the Area is loaded when i have StreamingEnabled?
I want to know with a “script” if the Area where i am rn is loaded or not, Thanks.
do you mean :WaitForChild()
?
How should i know what i am waiting for? Im unsing StreamingEnabled but how do i know if the Area loaded where the Player is for the Streaming?
Can you elaborate more about what you are trying to make?
As @Uperscuzzi said you could try an use :WaitForChild() for this but for further help I would need to know some more information about the topic
When i have a big Map StreamingEnabled will load just a small area where the Player is. When i teleport to another Place a Popup will occur “The Gameplay is paused” because the Area is not loaded where the Player is located. How can i know if the Area is loaded or not?
Use :WaitForChild() on a part inside that area, if it is there then the area is loaded, is kind of the best advice I can give since I still quite don’t understand your issue
2 years late lol, but I came to search for this issue and seems like no one gave you the correct answer:
local function onPauseStateChanged()
if player.GameplayPaused then
--Streaming hasn't loaded
else
-- Gameplay and physics is resumed, streaming has finished loading
end
end
player:GetPropertyChangedSignal("GameplayPaused"):Connect(onPauseStateChanged)
This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.