Re: Change map [message #437350 is a reply to message #437343] |
Sat, 02 October 2010 11:04 |
|
Omar007
Messages: 1711 Registered: December 2007 Location: Amsterdam
Karma:
|
General (1 Star) |
|
|
halo2pac wrote on Sat, 02 October 2010 18:09 |
Omar007 wrote on Thu, 30 September 2010 14:01 | IDK a way to do it within scripts at once but I do know a work around.
(pseudo-real)
char *actionMainSave;
cmd = strtok_s((char *)message, " ", &actionMainSave);
map = strtok_s(NULL, "\r\n", &actionMainSave);
if(strcmp(cmd, "!setnextmap") == 0)
{
Console_Input(StrFormat("mlistc %d %s", The_Game()->MapNumber + 1, map).c_str());
Console_Input(StrFormat("msg Next map changed to: %s", map).c_str());
}
Then just gameover the current game
|
"mlistc %d %s" I've never heard of that... is that a legitimate stock ssgm command?
|
Its a scripts console command
|
|
|