Thanks for responding!
I have 3 levels that I can go back and forth to via PUSH against an object with a "load_level" .
Each level initiates with an ENTITY*
action triggerLevel1()
{
while (!player) {wait (1);}
set (my, POLYGON); // use accurate collision detection
my.emask = ENABLE_IMPACT | ENABLE_ENTITY | ENABLE_PUSH |ENABLE_SHOOT;
my.event = setupLevel1;
my.push = 1;
set(my,ENABLE_PUSH);
}
....and the ENTITY* goes to a SETUP function:
function setupLevel1()
{
if (you != player) {return;}
wait(1);
level_load("2014BO1.wmb");
wait(1);
}
I want to display a different video on each level
I am using a global:
ENTITY* myVIDEO1
function setupLevel1()
{
if (you != player) {return;}
wait(1);
level_load("2014BO1.wmb");
wait(1);
myVIDEO1 = media_loop(VID,bmap_for_entity(my,0),100);
}
...however, when I add the video (I can add and remove IMAGES& AUDIO with no problem)
It will crash when I PUSH THE ENTITY of the NEXT LEVEL
Also, I have never uses sys_Marker() as I hven't been able to figure it out
NOTE: my entie educaiton on level changing has come from 1 tutrial of the GameStudio Magazine, back in #28
thanks for any help you might have.