Add TakeOffOnCreation and TakeOffOnResupply to Aircraft

Before this, it was impossible to replicate the behavior of the original games (staying on pad/airfield after reload) without hacking around in Mods.Common.
This allows modders to disable these without meddling with code.
This commit is contained in:
reaperrr
2017-07-14 05:33:51 +02:00
committed by Matthias Mailänder
parent 5cfb5aaf2d
commit c9ff362ea2
5 changed files with 15 additions and 4 deletions

View File

@@ -272,6 +272,7 @@
AirborneCondition: airborne
CruisingCondition: cruising
CanHover: True
TakeOffOnResupply: true
HiddenUnderFog:
Type: GroundPosition
ActorLostNotification:

View File

@@ -548,6 +548,7 @@
CanHover: True
CruisingCondition: cruising
WaitDistanceFromResupplyBase: 4c0
TakeOffOnResupply: true
GpsDot:
String: Helicopter
Hovers@CRUISING:

View File

@@ -820,6 +820,7 @@
CruiseAltitude: 2048
CanHover: True
CruisingCondition: cruising
TakeOffOnResupply: true
Hovers@CRUISING:
RequiresCondition: cruising