Wire up SAM 4

This commit is contained in:
Scott_NZ
2012-08-08 19:42:20 +12:00
parent 0a358a8846
commit b220bbeda2
2 changed files with 7 additions and 4 deletions

View File

@@ -21,6 +21,7 @@ namespace OpenRA.Mods.RA.Missions
Actor sam1; Actor sam1;
Actor sam2; Actor sam2;
Actor sam3; Actor sam3;
Actor sam4;
Player allies; Player allies;
Player soviets; Player soviets;
@@ -39,9 +40,11 @@ namespace OpenRA.Mods.RA.Missions
sam1 = actors["SAM1"]; sam1 = actors["SAM1"];
sam2 = actors["SAM2"]; sam2 = actors["SAM2"];
sam3 = actors["SAM3"]; sam3 = actors["SAM3"];
w.WorldActor.Trait<Shroud>().Explore(w, sam1.Location, 3); sam4 = actors["SAM4"];
w.WorldActor.Trait<Shroud>().Explore(w, sam2.Location, 3); w.WorldActor.Trait<Shroud>().Explore(w, sam1.Location, 2);
w.WorldActor.Trait<Shroud>().Explore(w, sam3.Location, 3); w.WorldActor.Trait<Shroud>().Explore(w, sam2.Location, 2);
w.WorldActor.Trait<Shroud>().Explore(w, sam3.Location, 2);
w.WorldActor.Trait<Shroud>().Explore(w, sam4.Location, 2);
} }
} }
} }

View File

@@ -1524,7 +1524,7 @@ Actors:
Actor451: silo Actor451: silo
Location: 47,44 Location: 47,44
Owner: Soviets Owner: Soviets
Actor452: sam SAM4: sam
Location: 34,57 Location: 34,57
Owner: Soviets Owner: Soviets
Actor453: sbag Actor453: sbag