Thread: Sliders
View Single Post
  #1  
Old 09-23-2001, 05:09 AM
ownerofbabylon ownerofbabylon is offline
Lord Helmut
ownerofbabylon's Avatar
Join Date: Jun 2001
Location: Gainesville FL
Posts: 1,763
ownerofbabylon is on a distinguished road
Send a message via ICQ to ownerofbabylon Send a message via AIM to ownerofbabylon
Sliders

I am making a NPC that makes the player slide but for some reason it wont work good. Like i can make it slide fine but its really ***.

// NPC made by Lord Helmut
if (playerenters) {
}
if (playertouchsme) {
toweapons Slider;
}

if(weaponfired&&playerdir==2){
playery+=.1;
sleep .1;
playery+=.1;
sleep .1;
playery+=.1;
sleep .1;
playery+=.1;
sleep .1;
playery+=.1;
sleep .1;
playery+=.1;
sleep .1;
playery+=.1;
sleep .1;
playery+=.1;
sleep .1;
playery+=.1;
}

What would be a better way to make them slide without the damn sleep command? I thought about loops but im not sure which one
__________________


Warrior of Light

WWW.BABYLONSERVER.COM
Reply With Quote