New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Let the remaing enemy troops in Allies02 attack the player #16030

Merged
merged 2 commits into from Jan 19, 2019

Conversation

Projects
None yet
2 participants
@abcdefg30
Copy link
Member

abcdefg30 commented Jan 7, 2019

Closes #15837.

abcdefg30 added some commits Jan 7, 2019

Let the remaing enemy troops in Allies02 attack the player
once the base is destroyed.
Does not include unit guarding the convoy path.
Move Actor103 in Allies02 one cell to the right
He was standing on impassable terrain and therefore couldn't move.

@pchote pchote added this to the Next Release milestone Jan 7, 2019

@pchote

pchote approved these changes Jan 19, 2019

Copy link
Member

pchote left a comment

Improvement confirmed and script changes LGTM.

@@ -87,6 +89,14 @@ RunInitialActivities = function()
SendTrucks()
end)

Trigger.OnAllKilled(SovietBase, function()
Utils.Do(ussr.GetGroundAttackers(), function(unit)

This comment has been minimized.

@pchote

pchote Jan 19, 2019

Member

Idea for future improvement: Add a Utils.Except helper, so this could simplify to

Utils.Do(Utils.Except(ussr.GetGroundAttackers(), PathGuards), function(unit)
    Trigger.OnIdle(unit, unit.Hunt)
end)

@pchote pchote merged commit 7eff82c into OpenRA:bleed Jan 19, 2019

2 checks passed

continuous-integration/appveyor/pr AppVeyor build succeeded
Details
continuous-integration/travis-ci/pr The Travis CI build passed
Details

@abcdefg30 abcdefg30 deleted the abcdefg30:hunt02 branch Jan 19, 2019

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment