Adjust the patrol starting position

This commit is contained in:
ScottNZ
2012-07-01 12:14:12 +12:00
parent e02397da3e
commit 18d75feb15

View File

@@ -1,10 +1,10 @@
#region Copyright & License Information
/*
* Copyright 2007-2011 The OpenRA Developers (see AUTHORS)
* This file is part of OpenRA, which is free software. It is made
* available to you under the terms of the GNU General Public License
* as published by the Free Software Foundation. For more information,
* see COPYING.
/*
* Copyright 2007-2011 The OpenRA Developers (see AUTHORS)
* This file is part of OpenRA, which is free software. It is made
* available to you under the terms of the GNU General Public License
* as published by the Free Software Foundation. For more information,
* see COPYING.
*/
#endregion
@@ -23,10 +23,10 @@ namespace OpenRA.Mods.RA.Missions
class Allies01Script : IWorldLoaded, ITick
{
static readonly string[] objectives =
{
"Find Einstein.",
"Wait for the helicopter and extract Einstein."
static readonly string[] objectives =
{
"Find Einstein.",
"Wait for the helicopter and extract Einstein."
};
int currentObjective;
@@ -187,7 +187,7 @@ namespace OpenRA.Mods.RA.Missions
{
for (int i = 0; i < patrol.Length; i++)
{
var actor = self.World.CreateActor(patrol[i], new TypeDictionary { new OwnerInit(soviets), new LocationInit(insertionLZ.Location + new CVec(-1 + i, 6 + i * 2)) });
var actor = self.World.CreateActor(patrol[i], new TypeDictionary { new OwnerInit(soviets), new LocationInit(insertionLZ.Location + new CVec(-1 + i, 8 + i * 2)) });
actor.QueueActivity(new Move.Move(insertionLZ.Location));
}
}