Graal Forums

Graal Forums (https://forums.graalonline.com/forums/index.php)
-   Future Improvements (https://forums.graalonline.com/forums/forumdisplay.php?f=10)
-   -   detecting signs/links (https://forums.graalonline.com/forums/showthread.php?t=65354)

Warcaptain 04-13-2006 11:06 PM

detecting signs/links
 
there are currently objects available for signs/links and other level objects ..
ie:
NPC Code:

TServerLevelLink (TGraalVar):
destlevel - string (read only)
destx - float (read only)
desty - float (read only)
height - float (read only)
width - float (read only)
x - float (read only)
y - float (read only)




but no way to find them.. ie level.linkcount or anything of the sort

can you PLEASE create a way to do this? we are working on an advanced pathfinding script that needs to be able to detect these sort of things.

jake13jake 05-05-2006 06:11 PM

I believe that links can be detected clientside (links array), and that signs can be detected serverside (signs array). Not sure though

ex. player.chat = links[i].destlevel;
I dont believe that destlevel existed at first, but I guess Stefan added it when I bugged him about it. That probably means I can make a level-link system on classic for when people throw on their opposite boots.

I'm hoping that he'll add serverops to modify the behavior of playertouchsme as well.

ApothiX 05-05-2006 09:41 PM

Quote:

Originally Posted by jake13jake
I'm hoping that he'll add serverops to modify the behavior of playertouchsme as well.

If I was Stefan I'd globally ban you right now, for being so damn annoying about that.

jake13jake 05-06-2006 10:00 PM

Quote:

Originally Posted by ApothiX
If I was Stefan I'd globally ban you right now, for being so damn annoying about that.

Yep... I know, but I have reasons too.


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

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