![]() |
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! |
:megaeek: To hard=/....
|
It's actually Stefan code.
|
Quote:
|
...
thats Stefan for you....
|
Aw, so nobody can help me? :(
|
Shame and shame on stefans unreadable codes! but at least they work!!
|
I don't blame him for making them unreadable. You should be scripting your own, instead of trying to figure out and edit his.
|
Well if I made boats again they'd probably HAVE to use identicle code.
|
Nope. As soon as you enter 10 you're stuck, and anything over seems to warp you up a couple set of levels.
|
Right.
|
| All times are GMT +2. The time now is 01:34 AM. |
Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2026, vBulletin Solutions Inc.
Copyright (C) 1998-2019 Toonslab All Rights Reserved.