Graal Forums

Graal Forums (https://forums.graalonline.com/forums/index.php)
-   New Scripting Engine (GS2) (https://forums.graalonline.com/forums/forumdisplay.php?f=153)
-   -   Ambiguity (https://forums.graalonline.com/forums/showthread.php?t=70207)

Novo 11-18-2006 10:31 PM

Ambiguity
 
I'm not sure how I can differentiate the difference between when the NPC is in the level, or the GMAP.

For instance, if I warp to the GMAP, and do putnpc2, I get the gmap as this.level.name ( hamel_mines.gmap )

When I exit, and re-enter, I do another putnpc2, and I get the level name as this.level.name ( hamel_mines_a-2.nw )

When I exited and entered another GMAP, and put the npc, I got the gmap as this.level.name ( hamle.gmap ).

PHP Code:

LINK hamel_h-3.nw 35.5 61 8 3 39 15
LINK hamel_mines_a
-2.nw 38 14 4 1 38.5 58 

They both have links to the direct level name, not the GMAP...

In the same respect, the actionserverside takes the mines to be in the level, not the GMAP...

There's an inconsistency... I'm not sure what causes it though.

I'll try restarting NC -- Nope. Didn't change anything.

Tolnaftate2004 11-20-2006 12:40 AM

Try echoing this.name in the npc. I would assume that it always has the level name there (not the gmap).
You probably don't need to be warping to a gmap, anyway...

Admins 11-20-2006 02:00 AM

Eventually the map part levels are still in the cache, try restarting the gserver.


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

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