Graal Forums  

Go Back   Graal Forums > Development Forums > NPC Scripting > New Scripting Engine (GS2)
FAQ Members List Calendar Today's Posts

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 11-18-2006, 10:31 PM
Novo Novo is offline
[TServerDeveloper]
Join Date: Jun 2006
Posts: 448
Novo will become famous soon enough
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.
Reply With Quote
  #2  
Old 11-20-2006, 12:40 AM
Tolnaftate2004 Tolnaftate2004 is offline
penguin.
Join Date: Jul 2004
Location: Berkeley, CA
Posts: 534
Tolnaftate2004 is a jewel in the roughTolnaftate2004 is a jewel in the rough
Send a message via AIM to Tolnaftate2004
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...
__________________
◕‿‿◕ · pfa · check yer syntax! · src

Killa Be: when i got that locker in 6th grade the only thing in it was a picture of a midget useing a firehose :/
Reply With Quote
  #3  
Old 11-20-2006, 02:00 AM
Admins Admins is offline
Graal Administration
Join Date: Jan 2000
Location: Admins
Posts: 11,693
Admins has much to be proud ofAdmins has much to be proud ofAdmins has much to be proud ofAdmins has much to be proud ofAdmins has much to be proud ofAdmins has much to be proud of
Eventually the map part levels are still in the cache, try restarting the gserver.
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


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


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