
09-23-2001, 05:09 AM
|
|
Lord Helmut
|
 |
Join Date: Jun 2001
Location: Gainesville FL
Posts: 1,763
|
|
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
|
|
|
|