#1
|
|||
|
|||
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 |
#2
|
|||
|
|||
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). |
#3
|
|||
|
|||
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. |
#4
|
|||
|
|||
~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 |
|
|