Merge pull request #7815 from Phrohdoh/aircraft-turn-timing

Expose Plane turn-to-attack delay to yaml.
This commit is contained in:
Oliver Brakmann
2015-04-03 23:15:41 +02:00
13 changed files with 60 additions and 45 deletions

View File

@@ -31,7 +31,7 @@ namespace OpenRA.Mods.RA.Scripting
public void Paradrop(CPos cell)
{
paradrop.SetLZ(cell, true);
Self.QueueActivity(new Fly(Self, Target.FromCell(Self.World, cell)));
Self.QueueActivity(new Fly(Self, Target.FromCell(Self.World, cell), Self.Trait<Plane>()));
Self.QueueActivity(new FlyOffMap(Self));
Self.QueueActivity(new RemoveSelf());
}