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
}
Look at the third line...
As I said, you should give the exactly right parameters to c_scan to see what you wanted to see. I'll try my code in the evening
