Quote:
Originally Posted by FG28_Kodiak
First i look in which Aircraft the player is.
AiAircraft airc1 = (AiAircraft)GamePlay.gpPlayer().Place();
Then i start the Stopwatch, you can use a trigger or Time.tickCounter() also, its only a example.
PlayerGroupIdleTimer.Start();
Then check if plane is airborne (if it airborne its a bad idea to set it on idle  )
if (!airc1.IsAirborne())
{
If the plane is not airborne, i set the complete player airgroup on idle, it's the same you set the idle state in FMB
airc1.AirGroup().Idle = true;
then a short message for the player
GamePlay.gpHUDLogCenter(player.Name() + " warm up your engine");
}
later in OnTickGame i set the AirGroup().Idle = false; so the AI will make it's job 
|
Your explanation gives me the background on what you did, so I now better understand how your script works. I will again experiment with a mission today and make any changes required to get it working properly. Will keep you posted in this post on how I am going? Stiboo is also helping me with this.
Good to see you on here MP, we are all working hard to get some good missions/campaigns working properly and it is a very steep learning curve without any official documentation!
DFLion