Renegade Public Forums
C&C: Renegade --> Dying since 2003™, resurrected in 2024!
Home » Renegade Discussions » Mod Forum » Change map
Re: Change map [message #437343 is a reply to message #437235] Sat, 02 October 2010 09:09 Go to previous messageGo to previous message
halo2pac is currently offline  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 Smile



"mlistc %d %s" I've never heard of that... is that a legitimate stock ssgm command?


http://img339.imageshack.us/img339/1991/nefobbygenyunoreleasere.jpg
Rene-Buddy | Renegade X
Join the fight against Obsessive-Compulsive Posting Disorder. Cancel is ur friend.
*Renegade X Dev Team Member*
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Measuring and rewarding team work programatically?
Next Topic: vtach/detach command
Goto Forum:
  


Current Time: Mon Oct 14 08:50:05 MST 2024

Total time taken to generate the page: 0.00685 seconds