Hello, I am really new to scripting and i’ve been looking arround to find how to make a scene load when my caracter reach a certain point in the game (kind of a checkpoint) … really sorry for that noobie question but i would really appreciate if someone could help me out! thanks
Give the object a collider, make it a trigger, then use OnTriggerEnter()
to see if the player has entered the checkpoint, then use application.LoadLevel(levelint);
where levelint is the number of the scene you wish to load in the build settings.
you can put a trigger where you want the checkpoint and check the OnTriggerEnter event and load the next scene :
http://unity3d.com/support/documentation/ScriptReference/Collider.OnTriggerEnter.html
Isn’t that what I just said?
we posted at the same time i think
And remember to include those scene in the build settings. In Edit > build settings.