Graal Forums

Graal Forums (https://forums.graalonline.com/forums/index.php)
-   Future Improvements (https://forums.graalonline.com/forums/forumdisplay.php?f=10)
-   -   findnpcbyid() (https://forums.graalonline.com/forums/showthread.php?t=86252)

DustyPorViva 06-09-2009 07:38 PM

findnpcbyid()
 
Why isn't this serverside? :( Shouldn't it be???

Crono 06-09-2009 07:40 PM

Because it's all a part of Stefan's evil scheme to cause you as much scripting pain as possible!!!

http://lavender.fortunecity.com/elys...vil_laugh1.JPG

DustyPorViva 06-09-2009 07:42 PM

Quote:

Originally Posted by Crono (Post 1498161)
Because it's all a part of Stefan's evil scheme to cause you as much scripting pain as possible!!!

http://lavender.fortunecity.com/elys...vil_laugh1.JPG

And dammit he is!!! >: (

and lol, you hotlinked fortunecity.

Inverness 06-09-2009 09:27 PM

NPC IDs are relative to the level. If that is added to serverside it should be part of TServerLevel.

I believe the clientside version looks relative to the current level, but I'm not certain. I'd like to know more about stuff like this so it's easier to communicate between serverside and clientside of an NPC.

DustyPorViva 06-09-2009 09:28 PM

Quote:

Originally Posted by Inverness (Post 1498191)
NPC IDs are relative to the level. If that is added to serverside it should be part of TServerLevel.

Aye, I was using it relative to the level(findlevel()), and I agree.


All times are GMT +2. The time now is 07:21 AM.

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