Graal Forums

Graal Forums (https://forums.graalonline.com/forums/index.php)
-   Feature request (https://forums.graalonline.com/forums/forumdisplay.php?f=194)
-   -   onPlayerEnters + GMAPs (https://forums.graalonline.com/forums/showthread.php?t=134267655)

fowlplay4 12-27-2012 04:16 AM

onPlayerEnters + GMAPs
 
Hello,

Currently on GMAPs when you enter the 3x3 grid of levels all NPCs in those levels trigger onPlayerEnters. This occurs on both client-side and server-side in level NPCs.

Is it possible for a flag to be added so it only triggers onPlayerEnters when the player enters the level the NPC is actually in instead?

cbk1994 12-27-2012 05:37 AM

Alternatively, implementing this as a separate event would be acceptable... "onPlayerEntersLevel" or something stupid like that.

scriptless 12-27-2012 05:19 PM

True, couldn't you also check the level name (not gmap) player is in after the function is called? and compare that? Would be neat for an actual function tho.


All times are GMT +2. The time now is 03:48 PM.

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