Graal Forums

Graal Forums (https://forums.graalonline.com/forums/index.php)
-   NPC Scripting (https://forums.graalonline.com/forums/forumdisplay.php?f=8)
-   -   Changing the levels of an NPC (https://forums.graalonline.com/forums/showthread.php?t=66869)

contiga 06-25-2006 12:25 PM

Is there a line in serveroptions or so to protect a few classes that were put with 'putnpc2'? Like protectedclasses=gralats,...,... so that they don't get removed when saying '/clearnpcs'?

Bl0nkt 06-25-2006 07:33 PM

I've tried move() on the serverside on this gmap. It would move, but not through levels. The second it hit a level link it froze.

I've been thinking about getting rid of the gmap and making them individual levels. The gmap is good for some things, but for this project more of a disturbance if anything. I can't really say what this project is.

Python523 06-25-2006 08:50 PM

Quote:

Originally Posted by Bl0nkt
I've tried move() on the serverside on this gmap. It would move, but not through levels. The second it hit a level link it froze.

I've been thinking about getting rid of the gmap and making them individual levels. The gmap is good for some things, but for this project more of a disturbance if anything. I can't really say what this project is.

Then your gmap is faulty.

Bl0nkt 06-26-2006 01:48 AM

Quote:

Originally Posted by Python523
Then your gmap is faulty.

Keep in mind the "project" is not another server. The GMAP is also not very supportive when using setfocus() rapidly.

zokemon 06-26-2006 03:36 AM

Quote:

Originally Posted by contiga
Is there a line in serveroptions or so to protect a few classes that were put with 'putnpc2'? Like protectedclasses=gralats,...,... so that they don't get removed when saying '/clearnpcs'?

I don't think so. Just don't let anyone do /clearnpcs and make your own script for clearing putnpc'ed npcs :)

calani 06-26-2006 04:50 AM

Quote:

Originally Posted by bl0nkt
... The GMAP is also not very supportive when using setfocus() rapidly.

I've noticed this as well, and have been fighting with it for quite some time.
Have you been able to get it to work, or able to give any pointers on it?

Bl0nkt 06-26-2006 05:09 AM

Quote:

Originally Posted by calani
I've noticed this as well, and have been fighting with it for quite some time.
Have you been able to get it to work, or able to give any pointers on it?

Not much you can do when you're using an 0.05 timeout to update it. It's still very jerky.

ApothiX 06-26-2006 09:59 AM

Quote:

Originally Posted by Bl0nkt
I've tried move() on the serverside on this gmap. It would move, but not through levels. The second it hit a level link it froze.

I've been thinking about getting rid of the gmap and making them individual levels. The gmap is good for some things, but for this project more of a disturbance if anything. I can't really say what this project is.

I'll say this one more time, and it will be the last. warpto is the command you are looking for.

NPCs put with putnpc2 are consider DB NPCs, and they work with warpto.

Bl0nkt 06-26-2006 07:50 PM

Quote:

Originally Posted by ApothiX
I'll say this one more time, and it will be the last. warpto is the command you are looking for.

NPCs put with putnpc2 are consider DB NPCs, and they work with warpto.

I understand that. I'm not trying to tackle that issue anymore.


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

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