Thread: Jump
View Single Post
  #13  
Old 10-30-2001, 07:56 PM
nyghtGT nyghtGT is offline
Banned
nyghtGT's Avatar
Join Date: Jun 2001
Posts: 3,993
nyghtGT is on a distinguished road
Send a message via AIM to nyghtGT
Re: Jump

Quote:
Originally posted by Poogle
How do you make this script not go on walls:
if (playertouchsme) {
toweapons Jump;
}
if (weaponfired) {
if (playerdir=0) {
setani lijump,;
playery = playery-4;
}
if (playerdir=2) {
setani lijump,;
playery = playery+4;
}
if (playerdir=1) {
setani lijump,;
playerx = playerx-4;
}
if (playerdir=3) {
setani lijump,;
playerx = playerx+4;
}
}
(show it fixed)
I aint a genious but try using:

NPC Code:

NPC Code:

if (onwall(x,y)) {
}



Reply With Quote