Graal Forums

Graal Forums (https://forums.graalonline.com/forums/index.php)
-   NPC Scripting (https://forums.graalonline.com/forums/forumdisplay.php?f=8)
-   -   Problems with onwater() (https://forums.graalonline.com/forums/showthread.php?t=134262165)

kingcj 02-20-2011 08:30 AM

Problems with onwater()
 
I have a custom bomb that works fine with default pics0 (I guess) graphics. If the bomb is dropped on water it "sinks" using destroy(), and it is checked severside with the onwater() command.
However when the bomb is dropped on a custom tileset using the same onwater command, it doesn't "sink" the bomb. The tiles are water according to clientside putleaps and clientside custom movement system that is being used, but checking with onwater severside won't pick up the water.
Is there a way around this or is this just an odd glitch that I've run across? I don't really know anyway around it. I've tried placing the custom water tiles in a var and check the - tiles[x,y] in var -, but it doesn't seem to work serverside either.
Again, the bomb works perfectly with default graphics, but when placed in custom water tiles, the bomb doesn't "sink."

fowlplay4 02-20-2011 08:33 AM

Server option that might be of interest.

Tilesets

newtilesets=true/false
newtilesetlevels=comma seperated list of levels

Whether all Levels will use the new Tileset layout, or a match list of levels that shall.

kingcj 02-20-2011 09:00 AM

Ah! Thanks! I will get this tried out as soon as someone logs on that can set server options.

Crow 02-20-2011 10:40 AM

Quote:

Originally Posted by fowlplay4 (Post 1632056)
Server option that might be of interest.

Tilesets

newtilesets=true/false
newtilesetlevels=comma seperated list of levels

Whether all Levels will use the new Tileset layout, or a match list of levels that shall.

While we're at it: can you just use the beginning of the level name(s) for the "newtilesetlevels" list? Stuff like pw_inside_ to match all levels starting with that or something. That'd be cool :3

Doahh_p2p 02-23-2011 08:16 AM

I believe so... I have dungeon levels and just used the start "dungeon" in the list and it picked up all these different ones.


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.