![]() |
teh Boat
1 Attachment(s)
Hi,
I recently posted the thread Boat Script and since have been ale to script my own. The problem is that the boat only stays in one level and will go over land... I need it to stay on water... can anyone help? Cheers MrSmiles :D |
Use canwarp for the warping thing but it will only work with the NPC Server
|
I used canwarp... :(
-MrSmiles (It will be on p2p server) |
canwarp and all that doesnt work offline only online
plz dont rock my boat *rocks the boat* |
Re: teh Boat
(Sorry I can't help on this but) You guys seem to have forgotten the main part of his post:
Quote:
|
if (onwater(x,y)) { blabla; }
|
use attachplayertoobj....
|
Just have it check for a non-water tile ahead of the boat (!onwater(x,y)) might work, but I haven't bothered to check. Then if there is land ahead of the boat, make it not move forward or stop or blow up or whatever.
|
Graal2k1 cant manage to make there boats stay on water.. haha
|
Quote:
|
Try this for it to stay off land
PHP Code:
If it needs anything else tell me |
| All times are GMT +2. The time now is 10:50 PM. |
Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2026, vBulletin Solutions Inc.
Copyright (C) 1998-2019 Toonslab All Rights Reserved.