Graal Forums  

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

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 08-25-2001, 07:19 PM
mhermher mhermher is offline
galase galase!
mhermher's Avatar
Join Date: Jun 2001
Location: Sweden, Stockholm.
Posts: 2,012
mhermher is on a distinguished road
Send a message via ICQ to mhermher Send a message via AIM to mhermher Send a message via Yahoo to mhermher
Help me somethigns wrong

Hi i made a skateboard but its somethign wrong it go through water and could someone help me pelase?

please reply the fixed script


NPC Code:

//NPC Made By Gastly to "Outland Project"



if (playertouchsme) {
toweapons Skateboard;
say 0;
setstring board,gastlyskateboard1.png;
}

if (weaponfired&&!skatin) {
set skatin;
}

while (skatin) {
disabledefmovement;
this.oldx=playerx;
this.oldy=playery;

if (keydown(0)&&skatin) {playery-=1;playerdir=0;}
else if (keydown(1)&&skatin) {playerx-=1;playerdir=1;}
else if (keydown(2)&&skatin) {playery+=1;playerdir=2;}
else if (keydown(3)&&skatin) {playerx+=1;playerdir=3;}

if (onwall(playerx,playery+1)) {playerx=this.oldx;playery=this.oldy;}
else if (onwall(playerx+1,playery+1)) {playerx=this.oldx;playery=this.oldy;}
else if (onwall(playerx+2,playery+1)) {playerx=this.oldx;playery=this.oldy;}
else if (onwall(playerx+,playery+2)) {playerx=this.oldx;playery=this.oldy;}
else if (onwall(playerx+1,playery+2)) {playerx=this.oldx;playery=this.oldy;}
else if (onwall(playerx+2,playery+2)) {playerx=this.oldx;playery=this.oldy;}
else if (onwall(playerx+,playery+3)) {playerx=this.oldx;playery=this.oldy;}
else if (onwall(playerx+1,playery+3)) {playerx=this.oldx;playery=this.oldy;}
else if (onwall(playerx+2,playery+3)) {playerx=this.oldx;playery=this.oldy;}

setani tb_skateb1,#s(board),;
if (keydown(5)&&skatin) {
unset skatin;
enabledefmovement;
}
sleep 0.05;
}

if (!skatin) {enabledefmovement;}

__________________
Donate money for my trip to Germany

Adiarde Manager
Reply With Quote
  #2  
Old 08-25-2001, 07:21 PM
mhermher mhermher is offline
galase galase!
mhermher's Avatar
Join Date: Jun 2001
Location: Sweden, Stockholm.
Posts: 2,012
mhermher is on a distinguished road
Send a message via ICQ to mhermher Send a message via AIM to mhermher Send a message via Yahoo to mhermher
O and to the one that STEAL... well nothing will help cuz its bugged and if you steal il sue your ħ$ so dont steal and to the one that help me can use it Thank you
__________________
Donate money for my trip to Germany

Adiarde Manager
Reply With Quote
  #3  
Old 08-25-2001, 09:54 PM
mhermher mhermher is offline
galase galase!
mhermher's Avatar
Join Date: Jun 2001
Location: Sweden, Stockholm.
Posts: 2,012
mhermher is on a distinguished road
Send a message via ICQ to mhermher Send a message via AIM to mhermher Send a message via Yahoo to mhermher
heres the image
Attached Images
 
__________________
Donate money for my trip to Germany

Adiarde Manager
Reply With Quote
  #4  
Old 08-25-2001, 09:56 PM
mhermher mhermher is offline
galase galase!
mhermher's Avatar
Join Date: Jun 2001
Location: Sweden, Stockholm.
Posts: 2,012
mhermher is on a distinguished road
Send a message via ICQ to mhermher Send a message via AIM to mhermher Send a message via Yahoo to mhermher
opps wrong that was the icon
Attached Images
 
__________________
Donate money for my trip to Germany

Adiarde Manager
Reply With Quote
  #5  
Old 08-25-2001, 09:57 PM
mhermher mhermher is offline
galase galase!
mhermher's Avatar
Join Date: Jun 2001
Location: Sweden, Stockholm.
Posts: 2,012
mhermher is on a distinguished road
Send a message via ICQ to mhermher Send a message via AIM to mhermher Send a message via Yahoo to mhermher
and there is other colours to it also
Attached Images
 
__________________
Donate money for my trip to Germany

Adiarde Manager
Reply With Quote
  #6  
Old 08-25-2001, 09:57 PM
mhermher mhermher is offline
galase galase!
mhermher's Avatar
Join Date: Jun 2001
Location: Sweden, Stockholm.
Posts: 2,012
mhermher is on a distinguished road
Send a message via ICQ to mhermher Send a message via AIM to mhermher Send a message via Yahoo to mhermher
.
Attached Images
 
__________________
Donate money for my trip to Germany

Adiarde Manager
Reply With Quote
  #7  
Old 08-25-2001, 09:58 PM
mhermher mhermher is offline
galase galase!
mhermher's Avatar
Join Date: Jun 2001
Location: Sweden, Stockholm.
Posts: 2,012
mhermher is on a distinguished road
Send a message via ICQ to mhermher Send a message via AIM to mhermher Send a message via Yahoo to mhermher
wierd
__________________
Donate money for my trip to Germany

Adiarde Manager
Reply With Quote
  #8  
Old 08-25-2001, 11:04 PM
Metal-Slug Metal-Slug is offline
!_!
Metal-Slug's Avatar
Join Date: Jun 2001
Posts: 2,421
Metal-Slug is on a distinguished road
THOSE ARE THE ONES MADE BYE ZORG
Reply With Quote
  #9  
Old 08-25-2001, 11:19 PM
Guest
Posts: n/a
GÄ$â€*£Ÿ you ****ing spaming *******! you could put all thoughs in a zip and said it all in one message you idiot!!!
Reply With Quote
  #10  
Old 08-25-2001, 11:25 PM
KJS KJS is offline
The one, The only -
KJS's Avatar
Join Date: Apr 2001
Location: USA, Minnesota
Posts: 1,012
KJS is on a distinguished road
Send a message via AIM to KJS
arg why does everyone do a skateboard... I dont get it.... I mean basically your just stealing someone elses idea...
__________________
Thanks,
-KJL
Reply With Quote
  #11  
Old 08-25-2001, 11:39 PM
mhermher mhermher is offline
galase galase!
mhermher's Avatar
Join Date: Jun 2001
Location: Sweden, Stockholm.
Posts: 2,012
mhermher is on a distinguished road
Send a message via ICQ to mhermher Send a message via AIM to mhermher Send a message via Yahoo to mhermher
=(

so noone will help?


and icepick burn in hell

i atleast make my own scripts but you dont knwo how so you steal... hmm i remember when you stole the door script that my grandma did
__________________
Donate money for my trip to Germany

Adiarde Manager
Reply With Quote
  #12  
Old 08-25-2001, 11:41 PM
mhermher mhermher is offline
galase galase!
mhermher's Avatar
Join Date: Jun 2001
Location: Sweden, Stockholm.
Posts: 2,012
mhermher is on a distinguished road
Send a message via ICQ to mhermher Send a message via AIM to mhermher Send a message via Yahoo to mhermher
Quote:
Originally posted by Metal-Slug
THOSE ARE THE ONES MADE BYE ZORG

Yeah.... 2 gfx that i dont use i post wrong gfx thats why you think i use zorgs stuff
__________________
Donate money for my trip to Germany

Adiarde Manager
Reply With Quote
  #13  
Old 08-25-2001, 11:42 PM
Bravo_LAT-Admin Bravo_LAT-Admin is offline
Registered User
Join Date: Jun 2001
Location: banana
Posts: 165
Bravo_LAT-Admin will become famous soon enough
well

do what you did for onwall....except use onwater
__________________

Reply With Quote
  #14  
Old 08-26-2001, 01:20 AM
Komieko Komieko is offline
Registered User
Join Date: Mar 2001
Posts: 494
Komieko is on a distinguished road
You're also using TB3's gani's..Telling others not to steal while you go stealing. =/
Reply With Quote
  #15  
Old 08-26-2001, 02:55 AM
Guest
Posts: n/a
ever heard of:
"if (onwater(playerx,playery))"
Reply With Quote
Reply


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 04:17 PM.


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