![]() |
Thanks for the answer ZaltysZ,
the first part of my post was just wishful thinking, pointed at players which abandon a working plane so they dont have to fly home and land. And for your second point, i think i saw part of the problems in form of fata-morgana-bomber-raids, which disappear as you come closer to them, on the syn-server. |
Quote:
|
In my opinion this is what we need:
Quote:
|
About bombers. Doesn't the problem dissappear if their last waypoint is "landing"?
|
yes, but...
I would think so... But landing takes time ...
I just want them to disappear once they get back over 'friendly' areas |
Quote:
|
Quote:
This is an example of my mission that runs on Repka server atm. http://forum.1cpublishing.eu/showpos...8&postcount=24 I have no idea what I should put in the .cs file to make "Destroy() method of AiAircraft inside OnTaskCompleted(). " work. Another thing is that aircraft should fall to ground before it is destroyed with some timeout ideally as described here http://forum.1cpublishing.eu/showpos...1&postcount=33. |
So have modified ZaltysZ script, with some damage ;), fastes way to ground is to disable all controlls and the engines.
Code:
using System; |
FG28_Kodiak, thank you so much! i will try it tonight.
|
Guys, don't bother with engines, kill fuel pump instead (all engines should stop). :-P
By the way, what will happen if player presses "Create" multiple time? There will probably be lots of planes on ground without working controls and engines. There is handy method IsAirborne(). If it returns false, plane should be destroyed immediately; if it returns true, only then disabling of controls should commence. |
All times are GMT. The time now is 04:31 AM. |
Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright © 2007 Fulqrum Publishing. All rights reserved.