View Single Post
  #2  
Old 04-28-2001, 03:59 AM
KJS KJS is offline
The one, The only -
KJS's Avatar
Join Date: Apr 2001
Location: USA, Minnesota
Posts: 1,012
KJS is on a distinguished road
Send a message via AIM to KJS
Cool ok...

It is something like this...

//KJL's Example
if (onwall(x,y)&&me.go.right==1){me.go.right=0}
if (onwall(x,y)me.go.right==0){me.go.right=1}
if(playerenters){timeout=1;}
if(timeout){
if(me.go.right==1){x+=1}
if(me.go.right==0){x-=1}
timeout=1;
}


//NOTE: I did this off the top of my head so I dont
// know how much of it works. I think all of
// it will work perfectly fine
__________________
Thanks,
-KJL
Reply With Quote