Hosting and domain costs until October 2024 have been generously sponsored by dumptruck_ds. Thank you!
Difference between revisions of "changelevel"
From Quake Wiki
(Created page with "''void'' '''changelevel'''(''string'' newMap) == Usage == Advances to the specified map. Passing the current map will reset the level. === Parameters === *''newMap'' :The ma...") |
(No difference)
|
Latest revision as of 17:37, 1 August 2023
void changelevel(string newMap)
Usage[edit]
Advances to the specified map. Passing the current map will reset the level.
Parameters[edit]
- newMap
- The map to go to. This is the internal name e.g. start, e3m6, etc.
Example[edit]
// This function checks if the server is ready to go to the next map void CheckLevelChange() { if (!intermission_running || intermission_exittime < time) return; changelevel(nextmap); }