![]() |
Serverside Level List?
I'm wondering if there is like a serverside array of all the levels on the server. It would be useful because there is a class I need to join to the level objects. I can already find them with findlevel() if I have the name. And I never knew findlevel() existed until I just tried it on a whim. :D
|
load the level folder? :]
|
I'm thinking of the NPC Level List. You can edit with RC but wondering if you can access by script. Didn't think of loading the folder though >_>
|
obj.loadfolder( string, float);
hmm, dunno if its possible with clientrc |
I know how to load folders >_> not the point.
I'm needing this because in my mudlib all items exist within a container object and the functions to add/remove them are in container object. I was thinking I could make a container on the level object, to handle items rather than using putnpc2(). Then we simply move the item from player's container to the level's then add an X and Y. |
Quote:
|
Yea I thought of that too, but just wanted to know if a list existed. Though I think I'm going to go with the folder loading. I think loadfolder() has option to be recursive.
|
Hmm, is there any reason why you'd like to do this? What is it that you're trying to accomplish? Seems pretty far-fetched if you ask me.
|
I'm needing to join a class to all levels on the serverside.
But I've decided that I'm not going to use that approach for my system, so it doesn't matter anymore. |
Quote:
|
Quote:
|
I decided that adapting containers to levels also was simply too much of a hassle, since I already have a good way of saving and loading item data.
|
Quote:
|
All times are GMT +2. The time now is 10:40 AM. |
Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2025, vBulletin Solutions Inc.
Copyright (C) 1998-2019 Toonslab All Rights Reserved.