Thread: tutor me plz
View Single Post
  #4  
Old 03-07-2002, 06:29 AM
SaijinGohan SaijinGohan is offline
Registered User
SaijinGohan's Avatar
Join Date: Jul 2001
Location: U.S.A - Ohio
Posts: 536
SaijinGohan is on a distinguished road
Send a message via AIM to SaijinGohan Send a message via MSN to SaijinGohan
speed can be increase by a number of ways like so:

// NPC made by SaijinGohan
if (playertouchsme) {
toweapons Boots;
}
if (weaponfired) {
if (!this.on) {
set this.on;
timeout=0.05;
}else{
unset this.on;
timeout=0;
}
}
if (timeout) {
if (keydown(1)) {
playerx--;
}
if (keydown(2)) {
playery++;
}
if (keydown(3)) {
playerx++;
}
if (keydown(0)) {
playery--;
}
timeout=0.05;
}

As you can see this is for a Staff Boots Weapon. Where I have playerx++, playery--, ect... you can replace that with
playerx+=(5) or any other number, now this will ofcourse make you go through walls but if you use onwalls stuff you can fix that.
__________________

Job: A Legend

And you think that you have played Graal forever? Ha!