| Blockland Forums > Modification Help |
| [SOLVED] Load Environment Config Created by saveEnvironment()? |
| (1/1) |
| Platypi:
Is there a way to load an environment file created by saveEnvironment()? Or are files created by saveEnvironment() only for use in gamemode.txt files? |
| QuadStorm:
http://swololol.com/rd?f=Server_EnvironmentAutoLoader This add-on's code will load the environment from saveEnvironment(). |
| Platypi:
--- Quote from: QuadStorm on January 04, 2018, 11:28:04 PM ---http://swololol.com/rd?f=Server_EnvironmentAutoLoader This add-on's code will load the environment from saveEnvironment(). --- End quote --- Thanks! This seems to be the code I was looking for (from Swollow's add-on) --- Code: ---%res = GameModeGuiServer::ParseGameModeFile(%file, 1); EnvGuiServer::getIdxFromFilenames(); EnvGuiServer::SetSimpleMode(); if(!$EnvGuiServer::SimpleMode) { EnvGuiServer::fillAdvancedVarsFromSimple(); EnvGuiServer::SetAdvancedMode(); } --- End code --- |
| Navigation |
| Message Index |