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)
|
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>())));
|
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))
|
if (!unitsAndBuildings.Any(a => a.Owner == france))
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -24,7 +24,7 @@ Players:
|
|||||||
PlayerReference@GoodGuy:
|
PlayerReference@GoodGuy:
|
||||||
Name: GoodGuy
|
Name: GoodGuy
|
||||||
Race: allies
|
Race: allies
|
||||||
ColorRamp: 161,134,236,30
|
ColorRamp: 161,134,200,30
|
||||||
Allies: France,Germany,Turkey
|
Allies: France,Germany,Turkey
|
||||||
Enemies: USSR
|
Enemies: USSR
|
||||||
PlayerReference@France:
|
PlayerReference@France:
|
||||||
@@ -555,12 +555,12 @@ Actors:
|
|||||||
Owner: GoodGuy
|
Owner: GoodGuy
|
||||||
Health: 1
|
Health: 1
|
||||||
Facing: 0
|
Facing: 0
|
||||||
Actor118: pbox
|
Actor118: pbox.e1
|
||||||
Location: 46,55
|
Location: 46,55
|
||||||
Owner: France
|
Owner: France
|
||||||
Health: 1
|
Health: 1
|
||||||
Facing: 0
|
Facing: 0
|
||||||
Actor119: pbox
|
Actor119: pbox.e1
|
||||||
Location: 48,54
|
Location: 48,54
|
||||||
Owner: France
|
Owner: France
|
||||||
Health: 1
|
Health: 1
|
||||||
|
|||||||
Reference in New Issue
Block a user