kadir.basol Posted February 26, 2012 Share Posted February 26, 2012 hello i ve looked all documentations but i could not found a way to load and unload world files from script ? Link to comment
ulf.schroeter Posted February 26, 2012 Share Posted February 26, 2012 See https://developer.unigine.com/en/docs/1.0/getting_started/console#commands engine.console.run("world_load <world_name> [<world_cache>]") engine.console.run("world_quit") Link to comment
manguste Posted February 28, 2012 Share Posted February 28, 2012 Just to add, world files+scripts are loaded from a system script unigine.cpp (it is run on engine start-up and does the house keeping until the application is closed). Path to the system script is specified via system_script CLI argument. Link to comment
Recommended Posts