-
-
Notifications
You must be signed in to change notification settings - Fork 2.7k
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
added nod mission 2b #7437
added nod mission 2b #7437
Conversation
|
local Harv = Map.ActorsInBox(Map.TopLeft, Map.BottomRight, function(actor) | ||
return actor.Owner == GDI and actor.Type == 'harv' and not actor.IsDead | ||
end) | ||
OnAnyDamaged({Harv[1]}, Atk5TriggerFunction) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why that complex? Trigger.OnDamaged(Harv[1], Atk5TriggerFunction)
should be enough.
|
||
Title: Invasion of Egypt (b) | ||
|
||
Description: GDI has kept a stranglehold on Egypt for many years. Set up a forward attack base in your area. To do this you must select your Mobile Construction Vehicle (MCV) and right click on it. From here you can begin to build a base. This area contains plenty of Tiberium, so establishing the base should be easy. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You're missing a space (there should be two) between on it.
and From
in comparison to nod02a.
I removed all tabs and spaces. I added the harvester like it was in the original mission and deleted the obsolete lua code. Also I added a trigger that all units go hunting when all buildings of the base are destroyed. I also added hunt to the end of every movement of the gdi units. |
|
||
Trigger.AfterDelay(0, getStartUnits) | ||
Harvester.FindResources() | ||
--Trigger.AfterDelay(0, setTriggerAtk5) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please remove this, if you won't use it.
Otherwise 👍. But could you apply #7437 (comment) to nod02a as well? |
Upps, forgot to delete... Do you mean adding hunt to the end of every movement? Can I do this also with this PR? |
You can do it here, but if you wish you can submit another PR instead. |
added the hunting to map 2a |
Ah wait, sorry, my mistake. I solved this in e.g. allies03a this way: |
No, problem. Changed hunting as you recommended it. |
Looks fine to me, 👍 I'm going to merge this despite the Appveyor build failure, which seems to be a problem on their end ("Unable to connect to the remote server"). |
Thanks! |
Your welcome! Next mission will take a few days. So, see you soon ;) |
So this mission is very similar to 2a.