Hallo !
Ich versuche gerade einen Levelwechsel code zu machen
wobei der Lade Screen kurz ein und wieder ausgeblendt sein soll aber es geht mal wieder nicht weil das loadingscreen Bild als unclerard idendtifier als Fehlermeldung kommt .Nur finde ich nix.
oder es liegt an was anderem ?
[/code]
BMAP* loadingscreen_bmp = "loadingscreen.bmp";
PANEL* loadingscreen_pan =
{
layer = 15;
bmap = loadingscreen_bmp;
flags = SHOW;
}
function load_level();
{
loadingscreen.VISIBLE = ON; //displays loading screen
wait(3);
wait(2);
loadingscreen.VISIBLE = OFF; //clears screen
bmap_purge(loading_lv);
level_load("level1.wmb");
}
ACTION levelchange(); //*assign this to a map entity blocking the way out of the level*/!!!!
{
set(my,INVISIBLE); //makes entitie invisible
MY.ENABLE_IMPACT = ON; //enables player impact
MY.EVENT = load_level; //function name
}
[code]