I'm making a UI app that needs the name of the current map being played on and so is there a function out there? Thanks in advance!
Posting this for anyone wondering how to do this without going to another thread to search for it. You can use this in the GameEngine Lua to figure out the level name: Code: local missionFile = getMissionFilename() local levelDir, filename, ext = path.split(missionFile) local levelName = levelDir:sub(9, -2) print(levelName) -- "east_coast_usa"