![]() |
#9
|
|||
|
|||
![]() Quote:
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 ![]() |
|
|