Code:
doorOpen = 1;
while(doorOpen)
{
if(my.skill20==1)
{
doorOpen=0;
while(my.z<my_z+50) { my.z+=3*time_step; wait(1); }
if(my.z>my_z+50) my.z = my_z + 50;
// That line depends on your world cordinates and door
// Also you can add closing door thing
}
wait(1);
}

Sorry for the mistake. This should work a lot faster now...

Edit: I don't see any reason to use c_trace. c_scan can be used without any problem. You should just make c_scan parameters right as you wanted wink

I can write down a code with c_trace but I really don't have enough time. Maybe I can write it this evening. Hope I helped...

Last edited by Hatean; 12/12/08 12:47.

The Life Game is disgustingly bad but the graphics and reality are extremely cool...