Forum rules - please read before posting.

Different scene starts - how to do this??

Hi, I am massively confused. 

PROBLEM:

I have a scene with numerous exit points to new scenes, but when I want the character to return to the original scene I do not know how to direct him to the correct playerstart??

Can anyone help? i am sure it is obvious but nothing is working from me? The player returns to the correct scene through player script, but not the correct marker/start point?

Comments

  • If you select a PlayerStart in the Hierarchy window, then viewing its Inspector will allow you to change which "previous scene" it responds to.  You can select this either from the scene's name, or number as listed in your Build settings.

    For example, if your Player travels from "Shop" to "Street", then inside "Street" they'll appear at the PlayerStart linked to "Shop".
  • Hi,

    So this is what I thought, however, when returning from the previous scene, the player appears at the correct player start, but always walks all the way back to GameStart2D, how do I just ensure they stay put at the correct player start?

    Thanks
  • Is there something in your OnStart cutscene that's causing the player to move?

    If so, you can use the "Engine: Check scene" Action to determine the previously-visited scene and act accordingly.
  • Got it, cheers
  • I think both ways have mentioned, but to reiterate, I have achieved this two ways.

    The first is selecting the playstart and using the name of the previous scene and a fade in time.

    Second way is to have a custom > run in parallel and have scene checks and teleport player to a marker depending on the previous scene.
Sign In or Register to comment.

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Welcome to the official forum for Adventure Creator.