Xonotic
campaign_setup.qc
Go to the documentation of this file.
1 #include "campaign_setup.qh"
2 
3 #if defined(CSQC)
4 #elif defined(MENUQC)
5 #elif defined(SVQC)
7  #include <common/mapinfo.qh>
8 #endif
9 
10 void CampaignSetup(int n)
11 {
12  localcmd("set g_campaign 1\n");
13  localcmd("set _campaign_name \"");
15  localcmd("\"\n");
16  localcmd("set _campaign_index ");
18  localcmd("\n");
19  localcmd("disconnect\nmaxplayers 16\n");
21 }
string campaign_name
void CampaignSetup(int n)
int campaign_offset
string campaign_mapname[CAMPAIGN_MAX_ENTRIES]
void MapInfo_LoadMap(string s, float reinit)
Definition: mapinfo.qc:1183