Fulqrum Publishing Home   |   Register   |   Today Posts   |   Members   |   UserCP   |   Calendar   |   Search   |   FAQ

Go Back   Official Fulqrum Publishing forum > Fulqrum Publishing > IL-2 Sturmovik: Cliffs of Dover > FMB, Mission & Campaign builder Discussions

Reply
 
Thread Tools Display Modes
  #1  
Old 07-12-2011, 10:00 AM
_79_dev _79_dev is offline
Approved Member
 
Join Date: Sep 2010
Location: Dublin
Posts: 242
Default Time in Scripts

~S~

I`ve just created simple mission, got no clue about C++ or Java, but can somebody explain me or pass a code pls how to get rid of AI airplanes lets say after they land or they just gonna dissapear. Also, how to end mission forever?


I attach a small mission there

http://www.megaupload.com/?d=7GA89021
__________________

Asus P6T V2 Deluxe, I7 930, 3x2 GB RAM XMS3 Corsair1333 Mhz, Nvidia Leadtek GTX 470, Acer 1260p screen projector, Track IR 4 OS ver5, Saitek Pro Flight Rudder, Saitek X52, Win 7 x64 ultimate
Reply With Quote
  #2  
Old 07-12-2011, 10:19 AM
adonys adonys is offline
Approved Member
 
Join Date: Apr 2010
Posts: 850
Default

After the Ai lands, you shouldn't care about them anymore. You can use some scripts to force their removal (if the SP engine doesn't do it by itslef, I'm not sure if it does, or not).

Also, you can not force the mission to end. You can and should send the player a message (on the screen) that he can exit at any time by pressing ESC after your mission objectives are fulfilled (what "mission objectives are fulfilled" is entirely up to you, usually most of the missions considers them to be a force or normal landing, eventuallly at a specific airfield, and therefore they put the check code on the OnLanded and OnCrashLanded methods).
Reply With Quote
  #3  
Old 07-12-2011, 10:24 AM
Ataros Ataros is offline
Approved Member
 
Join Date: Jun 2010
Location: USSR
Posts: 2,439
Default

Check out this guide on removing AI http://forum.1cpublishing.eu/showthread.php?t=23606

Usually you do not need to stop a mission forever. In MP just restart Steam and Launcher couple of times a day to clear memory and restart mission.
Reply With Quote
  #4  
Old 07-12-2011, 10:28 AM
_79_dev _79_dev is offline
Approved Member
 
Join Date: Sep 2010
Location: Dublin
Posts: 242
Default

~S~

So there is no method to close mission, even on the triger like??
__________________

Asus P6T V2 Deluxe, I7 930, 3x2 GB RAM XMS3 Corsair1333 Mhz, Nvidia Leadtek GTX 470, Acer 1260p screen projector, Track IR 4 OS ver5, Saitek Pro Flight Rudder, Saitek X52, Win 7 x64 ultimate
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 07:57 PM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright © 2007 Fulqrum Publishing. All rights reserved.