Load up a new world - Printable Version +- Frictional Games Forum (read-only) (https://www.frictionalgames.com/forum) +-- Forum: Amnesia: The Dark Descent (https://www.frictionalgames.com/forum/forum-6.html) +--- Forum: Custom Stories, TCs & Mods - Development (https://www.frictionalgames.com/forum/forum-38.html) +---- Forum: Development Support (https://www.frictionalgames.com/forum/forum-39.html) +---- Thread: Load up a new world (/thread-16671.html) |
Load up a new world - Jagsrs28 - 07-02-2012 What is the void to exit the current map and go to a different one (Sorta like clicking on a level door then a new map comes up) RE: Load up a new world - Statyk - 07-02-2012 Are you talking about void OnLeave() { //yada yada } vv Scroll down! RE: Load up a new world - SilentStriker - 07-02-2012 I think he means ChangeMap() RE: Load up a new world - Statyk - 07-02-2012 (07-02-2012, 06:32 AM)SilentStriker Wrote: I think he means ChangeMap()Ah, I think you're right! void ChangeMap(string& asMapName, string& asStartPos, string& asStartSound, string& asEndSound); Immediatly loads another map. asMapName - the file to load asStartPos - the name of the StartPos on the next map asStartSound - the sound that is played when the change starts asEndSound - the sound that is played when the new map is loaded |