Overhaul Land activity:
- Landing on an actor is no longer blocked by the underlying terrain - Land in a nearby cell if the requested location is blocked - Internally manages the fixed-wing landing sequence - ProductionAirdrop transport waits until the exit is free before landing
This commit is contained in:
@@ -177,19 +177,7 @@ namespace OpenRA.Mods.Common.Scripting
|
||||
}
|
||||
}
|
||||
|
||||
if (aircraft.Info.VTOL)
|
||||
{
|
||||
if (destination != entryPath.Last())
|
||||
Move(transport, destination);
|
||||
|
||||
transport.QueueActivity(new Turn(transport, aircraft.Info.InitialFacing));
|
||||
transport.QueueActivity(new Land(transport));
|
||||
}
|
||||
else
|
||||
{
|
||||
transport.QueueActivity(new Land(transport, Target.FromCell(transport.World, destination)));
|
||||
}
|
||||
|
||||
transport.QueueActivity(new Land(transport, Target.FromCell(transport.World, destination), facing: aircraft.Info.InitialFacing));
|
||||
transport.QueueActivity(new Wait(15));
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user