Adjust the patrol starting position
This commit is contained in:
@@ -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));
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user