![]() |
Quote:
|
I have edited my despawn script post and added additional "null" check to prevent some possible error.
|
Quote:
edit : It seems there is one more "}" than needed, but works flawlessly :) |
More experiments with scripting. New version of Battle of France mission here http://forum.1cpublishing.eu/showpos...1&postcount=12
|
bottom of that script says timeout 1 which is one sec. set that to 60 and your planes will despawn after 60 sec which is enough time for an aircraft to hit the ground when you bail and despwan ;)
|
Won't that leave the AI in control for 60 seconds, rather than having it glide into the ground? Really, the code should be ran instantly, and it should disable AI control instead of simply removing the aircraft--assuming that's currently possible.
|
This sample script made for fun disables player controls. Maybe someone can use it to disable AI controls for say 10 minutes before destroying AI
Code:
using System; |
Quote:
Yes, you can disable the controls, but trimmed plane can happily fly even without working controls. What I want to say: disabling the controls does not guarantee a quick crash. Extending despawn timeout can lead to great clutter, i.e. when player presses "Create" multiple times. |
The aim should be, imho, when a player bails from a working plane and he tries to create a new plane, he find himself in that "abandoned" plane, as long as it is still flying :-D
And from a realism point of view, it is realistic that planes with dead crews were hunted and so live planes could escape. I dont think that happens so often to have a felt influence on playability. |
Quote:
Quote:
|
All times are GMT. The time now is 06:48 AM. |
Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright © 2007 Fulqrum Publishing. All rights reserved.