Graal Forums

Graal Forums (https://forums.graalonline.com/forums/index.php)
-   NPC Scripting (https://forums.graalonline.com/forums/forumdisplay.php?f=8)
-   -   getnearestplayer(x,y) (https://forums.graalonline.com/forums/showthread.php?t=134256109)

DustyPorViva 09-17-2009 04:15 AM

getnearestplayer(x,y)
 
You don't really specify a distance... so what does Graal consider a near player, and not a near player? Only within a 'level'(distance < 32). Literally visible to the player? The player is loaded in the loaded levels on a gmap? If the last is true, then what makes it difference than just using level.players?

cbk1994 09-17-2009 04:35 AM

Fairly certain it's within 64 tiles of a player (32 would not work since players on opposite sides of levels are found).


All times are GMT +2. The time now is 05:14 AM.

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