Whenever i am trying to load a level using level_load, It works great, and it loads my specified level.
But if I try to load it again after the first loading, it has some missing in the level. for example the camera postions...They are not where they should be.
What is wrong? Is there something that I should do after level_load? Am I missing something?!
var tempcamx = 0; //change these to your camera position
var tempcamy = 0;
var tempcamz = 0;
function initcamera() //call this after level_load
{
camera.x = tempcamx;
camera.y = tempcamy;
camera.z = tempcamz;
}
No new level script. Load a level doesn't load a new script. The script attached to a level in WED only loads when you start the level using RUN in WED. Loading the level per level_load doesn't start the attached script.