![]() |
copylevel
copylevel serverside right?
If i am doing everthing right...is copylevel able to take variables and make a new level using the variable/string values? Edit: i had looked up the old copylevel threads, but they didnt help me like i needed |
copylevel levelname,newlevelname
of course, serverside only. All copylevel does is make an exact copy of a level. copylevel can't edit strings/vars in levels. (Atleast not to my knowledge) |
Quote:
And what i ment was does it accept strings as values so you could copy the level over to a new folder but with an extension diffrent to that of the first while still retaining the origonal prefix levelname |
I'm not really sure what you are saying.
You mean like: copylevel blah.nw,places/#a.nw ? If that's what you mean, you can do that. (#s #v etc will also work in place of #a) |
Quote:
Kinda confusing, i guess ill go play somemore, thanks for help |
Post the part of the script that does the level copying and I can probably help.
|
Quote:
NPC Code: thats what ive done, planned to put a personal extention i had named on the end of level #F i was standing on. Edit: fixed the part in the initital code that was messed up anyways |
copylevel #p(1).nw,test/#p(1)_#p(3).nw;
should be copylevel #p(1),test/#p(1)_#p(3).nw; #F/#p(1) would return levelname.nw and copylevel would look for levelname.nw.nw |
Quote:
Still though i have fixed that part, then when i execute to go to copylevel it does not copy the level, my folder is still empty. |
Ah yes.. #F should be #L. That should fix it.
|
Quote:
|
hrm.. weird. I tested it on Maloria and it worked fine.
|
Quote:
|
I believe there is a serveroption needed to be enabled to be able to use copylevel, I could be wrong though.
|
Quote:
Edit: if there is one at all, and if anyone else could shed some light on this, that would be swell too |
No serveroption is needed. If there is, it must not apply to Maloria :megaeek:
|
| All times are GMT +2. The time now is 09:05 AM. |
Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2026, vBulletin Solutions Inc.
Copyright (C) 1998-2019 Toonslab All Rights Reserved.