Graal Forums

Graal Forums (https://forums.graalonline.com/forums/index.php)
-   Future Improvements (https://forums.graalonline.com/forums/forumdisplay.php?f=10)
-   -   GetLevel()? (https://forums.graalonline.com/forums/showthread.php?t=134266004)

Gunderak 03-16-2012 10:24 AM

GetLevel()?
 
Maybe a bad idea but it would help on GMAP's.
Basically you could get the level of a specific x and y.
Say you were moving your mouse and wanted to see what level it's on.
PHP Code:

temp.level GetLevel(mousexmousey); 

Just an idea.
It might already be possible another way, not sure and couldn't find anything on it.

Tigairius 03-16-2012 12:02 PM

You can. It's:
TServerLevel.getmappartfile(x, y)

Gunderak 03-17-2012 01:17 AM

Thanks, wasn't aware of that.


All times are GMT +2. The time now is 12:47 PM.

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