Thread: sliding doors.
View Single Post
  #15  
Old 10-22-2001, 12:37 AM
SagaTCN SagaTCN is offline
Registered User
Join Date: Aug 2001
Location: West Michigan
Posts: 190
SagaTCN is on a distinguished road
Send a message via ICQ to SagaTCN Send a message via AIM to SagaTCN Send a message via Yahoo to SagaTCN
Make things simple and use the move command

//Door that moves 3 tiles to the left.
if(created) {
move -3,0,1,; //Format is move dx,dy,time,params
playsound stonemove.wav;
sleep 1;
move 3,0,1,;
}

You should be able to play around with that and make another door based on that script. Also, I believe there's a paramater that allows the door to move automatically in the other direction once the first movement is complete, so a sleep command wouldn't be needed. -Yin

Last edited by SagaTCN; 10-22-2001 at 12:40 AM..
Reply With Quote