Graal Forums  

Go Back   Graal Forums > Development Forums > NPC Scripting
FAQ Members List Calendar Today's Posts

 
 
Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #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
 


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +2. The time now is 07:43 PM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2026, vBulletin Solutions Inc.
Copyright (C) 1998-2019 Toonslab All Rights Reserved.