Re: Change map [message #437343 is a reply to message #437235] |
Sat, 02 October 2010 09:09 |
|
halo2pac
Messages: 659 Registered: December 2006 Location: Near Cleveland, Ohio
Karma:
|
Colonel |
|
|
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?
Rene-Buddy | Renegade X
Join the fight against Obsessive-Compulsive Posting Disorder. Cancel is ur friend.
*Renegade X Dev Team Member*
|
|
|