Put e1 inside the soviet 01 classic pillboxes. Add check for mission complete
This commit is contained in:
@@ -75,6 +75,8 @@ namespace OpenRA.Mods.RA.Missions
|
||||
|
||||
public void Tick(Actor self)
|
||||
{
|
||||
if (ussr.WinState != WinState.Undefined) return;
|
||||
|
||||
var unitsAndBuildings = world.Actors.Where(a => !a.IsDead() && a.IsInWorld && (a.HasTrait<Mobile>() || (a.HasTrait<Building>() && !a.HasTrait<Wall>())));
|
||||
if (!unitsAndBuildings.Any(a => a.Owner == france))
|
||||
{
|
||||
|
||||
@@ -24,7 +24,7 @@ Players:
|
||||
PlayerReference@GoodGuy:
|
||||
Name: GoodGuy
|
||||
Race: allies
|
||||
ColorRamp: 161,134,236,30
|
||||
ColorRamp: 161,134,200,30
|
||||
Allies: France,Germany,Turkey
|
||||
Enemies: USSR
|
||||
PlayerReference@France:
|
||||
@@ -555,12 +555,12 @@ Actors:
|
||||
Owner: GoodGuy
|
||||
Health: 1
|
||||
Facing: 0
|
||||
Actor118: pbox
|
||||
Actor118: pbox.e1
|
||||
Location: 46,55
|
||||
Owner: France
|
||||
Health: 1
|
||||
Facing: 0
|
||||
Actor119: pbox
|
||||
Actor119: pbox.e1
|
||||
Location: 48,54
|
||||
Owner: France
|
||||
Health: 1
|
||||
|
||||
Reference in New Issue
Block a user