Graal Forums

Graal Forums (https://forums.graalonline.com/forums/index.php)
-   Future Improvements (https://forums.graalonline.com/forums/forumdisplay.php?f=10)
-   -   ontilewall + ontilewall2 (https://forums.graalonline.com/forums/showthread.php?t=134258177)

fowlplay4 02-25-2010 06:39 PM

ontilewall + ontilewall2
 
Just thought id be handy to have in those situations where you don't exactly care if there's a player or some kind of NPC in the way, it would look past those and go to the tile source to check for a wall.

I'm sure to some extent this could be mimic'd using tiletype but it'd be cool to have built-in.

ontilewall(x, y)
ontilewall2(x, y, tilewidth, tileheight)

benpoke103 02-25-2010 06:57 PM

Would be more convenient to use, for sure.

Tigairius 02-25-2010 07:01 PM

I agree, would be cool.

HelpingAtStuff 02-25-2010 10:34 PM

Would be a lot of help.

ffcmike 02-25-2010 10:40 PM

With Classics scripted wall detection I have bitflags passed into the function to determine what checks should be made, be it wall tiles, blocking NPCs or players, the latter having further options such as whether it should include just the player themself, include just other players, include all players, ignore players with 100 ap, ignore players with the same Guild tag outside of Event levels or Spar Zones etc.

I'd imagine this would be extremely useful as a built-in function, i've found onwall to be somewhat problematic at times in the past.


All times are GMT +2. The time now is 06:43 PM.

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