![]() |
Level copy
HTML Code:
function onCreated()HTML Code:
temp.folderName = "levels/vs/currentworld/*.nw"; //Folders to where they are |
You do know there is a built-in copylevel command right?
x-x |
Quote:
zaboomafoo. |
Quote:
|
I don't know about automated link-changing. But if that is the case simply make the links scripted ones. Use this.level or level.name to get that and fine the ID of the instance from that and have the warp function executed appropriately. Or you could use database communication.
|
Quote:
It makes a copy of the level, and creates it in a new folder. I've never used it, but I'd assume that it would copy everything in the level, or at least the important stuff. |
The built-in command copies the file, but is not modifying levels. The built-in command currently has the advantage that the gserver is directly seeing the file, while with the scripted version you need to do /refreshfilelist, although that could be changed.
|
Quote:
|
| All times are GMT +2. The time now is 06:07 PM. |
Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2026, vBulletin Solutions Inc.
Copyright (C) 1998-2019 Toonslab All Rights Reserved.