How to handle warping to positions in sub-scenes?

Announcements, support questions, and discussion for Scene Streamer.
Post Reply
mdotstrange
Posts: 8
Joined: Sat Dec 08, 2018 2:01 pm

How to handle warping to positions in sub-scenes?

Post by mdotstrange »

Hey Tony- thanks for making Scene Streamer-

To elaborate on the question in the subject-

Lets's say we're talking about the Example that comes with SceneStreamer- Six scenes named 1-6

So the player is in Scene 1 and there's is a warp portal that warps to Scene 6- how should we handle that use case?

Or lets say a level is being loaded from a save and the players spawn point in is Scene 6?

If I manually call SetCurrentScene("Scene 6") it works in the example but I imagine on a heavy scene some time is needed to load the scene as its not preloaded when this is done manually-

Would I just load Scene6 as a neighbor to Scene1 as well?

Just looking for some ideas on how to handle this- thank you.

Edit: Adding Scene6 as a neighbor and manually calling SetCurrentScene works perfectly for warping from one StreamerScene to the next-
User avatar
Tony Li
Posts: 20672
Joined: Thu Jul 18, 2013 1:27 pm

Re: How to handle warping to positions in sub-scenes?

Post by Tony Li »

Hi,

Sorry I missed your post earlier! I'm glad you found a solution.
Post Reply