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-12-2002, 03:56 PM
MalakSylv MalakSylv is offline
Registered User
Join Date: Jun 2002
Location: England
Posts: 426
MalakSylv is on a distinguished road
Send a message via AIM to MalakSylv
Broken Boat Warping

(Tyne)

I'm having a problem with the Providence ships. They seem to get stuck on levels ending with -10 such as Providence_A-10.nw, or B-10, C-10, etc. I've tried fooling with the warping part of the script but I haven't been able to get it to work. Can someone help me please?

if (levxmove!=0 || levymove!=0) {
// Level warp

if (startswith(providence,#L)) {
levx = indexof(#e(11,1,#L),#s(this.warp))+1;
levy = strtofloat(#e(14,2,#L));
if (levx>=1 && levy>=1 &&
(levx+levxmove in |1,16|) && (levy+levymove in |1,16|)) {
setstring this.dest,providence_#e(levx+levxmove-1,1,#s(this.warp))-;
setstring this.test,providence_#e(levx+levxmove-1,1,#s(this.warp))-;
if (levy+levymove<10) setstring this.dest,#s(this.dest)0;
setstring this.dest,#s(this.dest)#v(levy+levymove).nw;

warpto #s(this.dest),(levxmove<0? 54 : levxmove>0? -4 : x), (levymove<0? 52 : levymove>0? -4 : y);
warped = true;
}
}
}

.. Thanks!
__________________

alias: malak
aim: andyfearsemotion
e-mail: [email protected]

site to be updated next month. expect a big surprise.
Reply With Quote
  #2  
Old 08-12-2002, 07:09 PM
SingleChance SingleChance is offline
Kill Pirates
Join Date: Apr 2002
Location: Canada
Posts: 1,296
SingleChance is on a distinguished road
Unhappy

To hard=/....
Reply With Quote
  #3  
Old 08-13-2002, 02:53 AM
MalakSylv MalakSylv is offline
Registered User
Join Date: Jun 2002
Location: England
Posts: 426
MalakSylv is on a distinguished road
Send a message via AIM to MalakSylv
It's actually Stefan code.
__________________

alias: malak
aim: andyfearsemotion
e-mail: [email protected]

site to be updated next month. expect a big surprise.
Reply With Quote
  #4  
Old 08-13-2002, 03:32 AM
Python523 Python523 is offline
Banned
Join Date: Aug 2001
Location: Illinois
Posts: 3,498
Python523 is on a distinguished road
Quote:
Originally posted by MalakSylv
It's actually Stefan code.
actually I think giltwist scripted the walk on-off boats
Reply With Quote
  #5  
Old 08-13-2002, 05:54 AM
Legondary_MyTH Legondary_MyTH is offline
Registered User
Join Date: May 2002
Location: Levelville
Posts: 420
Legondary_MyTH is on a distinguished road
...

thats Stefan for you....
__________________
ArchMage Amedeus Valoryn of Zormite
Manager of Anarchy
Past Jobs:
Levels Admin on Renegade
LAT on Doomsday,Babylon,G3K
Developer on Faheria,Babylon
GP on Sanstrata,G3K
Reply With Quote
  #6  
Old 08-13-2002, 07:00 AM
MalakSylv MalakSylv is offline
Registered User
Join Date: Jun 2002
Location: England
Posts: 426
MalakSylv is on a distinguished road
Send a message via AIM to MalakSylv
Aw, so nobody can help me?
__________________

alias: malak
aim: andyfearsemotion
e-mail: [email protected]

site to be updated next month. expect a big surprise.
Reply With Quote
  #7  
Old 08-13-2002, 09:49 AM
zorakid2001 zorakid2001 is offline
Banned
Join Date: Jul 2002
Location: Oregon USA <-- this place sux0rs
Posts: 113
zorakid2001 is on a distinguished road
Send a message via ICQ to zorakid2001 Send a message via AIM to zorakid2001
Shame and shame on stefans unreadable codes! but at least they work!!
Reply With Quote
  #8  
Old 08-13-2002, 10:11 AM
Falcor Falcor is offline
Darth Cucumber
Falcor's Avatar
Join Date: Mar 2001
Location: At School
Posts: 2,874
Falcor is on a distinguished road
Send a message via ICQ to Falcor Send a message via AIM to Falcor Send a message via MSN to Falcor Send a message via Yahoo to Falcor
I don't blame him for making them unreadable. You should be scripting your own, instead of trying to figure out and edit his.
__________________

subliminal message: 1+1=3
Reply With Quote
  #9  
Old 08-13-2002, 02:35 PM
MalakSylv MalakSylv is offline
Registered User
Join Date: Jun 2002
Location: England
Posts: 426
MalakSylv is on a distinguished road
Send a message via AIM to MalakSylv
Well if I made boats again they'd probably HAVE to use identicle code.
__________________

alias: malak
aim: andyfearsemotion
e-mail: [email protected]

site to be updated next month. expect a big surprise.
Reply With Quote
  #10  
Old 08-15-2002, 07:04 AM
MalakSylv MalakSylv is offline
Registered User
Join Date: Jun 2002
Location: England
Posts: 426
MalakSylv is on a distinguished road
Send a message via AIM to MalakSylv
Nope. As soon as you enter 10 you're stuck, and anything over seems to warp you up a couple set of levels.
__________________

alias: malak
aim: andyfearsemotion
e-mail: [email protected]

site to be updated next month. expect a big surprise.
Reply With Quote
  #11  
Old 08-16-2002, 11:16 AM
MalakSylv MalakSylv is offline
Registered User
Join Date: Jun 2002
Location: England
Posts: 426
MalakSylv is on a distinguished road
Send a message via AIM to MalakSylv
Right.
__________________

alias: malak
aim: andyfearsemotion
e-mail: [email protected]

site to be updated next month. expect a big surprise.
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 01:48 AM.


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