Blockland Forums > Modification Help
Loading a Mission
Brian Smithers:
Like in the Tutorial, it automatically starts a single player game, at a certain map with specific scripts loaded.
How can I do that except for a different projected?
Port:
loadMission(filePath);
Oh wait, you mean completely from scratch/main menu, not just force a map change from a server.
I made something like this once, I'll try to find it.
Brian Smithers:
--- Quote from: Port on February 01, 2012, 01:43:04 PM ---loadMission(filePath);
--- End quote ---
OH I SEE HOW IT IS MISTER
YO' GONNA COME IN AND TEACH ME
WHY DANK U!
Greek2me:
Run a trace and start the tutorial. You should be able to tell what it spits out.
Chrono:
When you start a mission, it execs the .mis file. The tutorial's .mis file has all the scripts in it after all the mission stuff.