Make aircraft occupy cells when landed.
This commit is contained in:
@@ -187,7 +187,7 @@ namespace OpenRA.Mods.Common.Scripting
|
||||
}
|
||||
else
|
||||
{
|
||||
transport.QueueActivity(new Land(transport, Target.FromCell(transport.World, destination)));
|
||||
transport.QueueActivity(new Land(transport, Target.FromCell(transport.World, destination), true));
|
||||
}
|
||||
|
||||
transport.QueueActivity(new Wait(15));
|
||||
|
||||
@@ -48,7 +48,7 @@ namespace OpenRA.Mods.Common.Scripting
|
||||
[Desc("Queues a landing activity on the specififed actor.")]
|
||||
public void Land(Actor landOn)
|
||||
{
|
||||
Self.QueueActivity(new Land(Self, Target.FromActor(landOn)));
|
||||
Self.QueueActivity(new Land(Self, Target.FromActor(landOn), true, landOn));
|
||||
}
|
||||
|
||||
[ScriptActorPropertyActivity]
|
||||
|
||||
Reference in New Issue
Block a user