Renegade Public Forums
C&C: Renegade --> Dying since 2003™, resurrected in 2024!
Home » Renegade Discussions » Mod Forum » Change map
Re: Change map [message #437235 is a reply to message #437234] Thu, 30 September 2010 12:01 Go to previous messageGo to previous message
Omar007 is currently offline  Omar007
Messages: 1711
Registered: December 2007
Location: Amsterdam
Karma:
General (1 Star)
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


http://tiberiumredux.omarpakker.nl/Old Unused Parts/Plaatjes/PromoteBanner_Hades_small.jpg
 
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 Dec 23 11:17:19 MST 2024

Total time taken to generate the page: 0.00752 seconds