View Single Post
  #1  
Old 04-30-2012, 11:43 PM
salmo salmo is offline
Approved Member
 
Join Date: Mar 2011
Posts: 632
Default Destroy a mission?

OK, I'm dumb I can't figure out how to destroy/unload an entire mission using the mission number. Here's what I have:

Code:
int i = GamePlay.gpNextMissionNumber();
GamePlay.gpPostMissionLoad("missions/Multi/Dogfight/aus3/misc/my_mission.mis");
sendScreenMessageTo(1, "my_mission loaded", null);
Timeout(5 * 60, () =>      // wait 5 min
{
// destroy my_mission here using mission number i
}
);
__________________
When one engine fails on a two engine bomber, you will always have enough power left to get to the scene of the crash.

Get the latest COD Team Fusion patch info HERE
Reply With Quote