-
-
Notifications
You must be signed in to change notification settings - Fork 2.6k
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
Port gdi02 to New Lua #6324
Port gdi02 to New Lua #6324
Conversation
It doesn't in -release either. Did it before? |
Yes, it did it when I created/imported it and that was the way it was designed. http://youtu.be/5uGjJV9jnLg?t=12m8s |
Unrelated to these changes, but it still would be nice if this could be fixed in one go. |
updated |
👍 |
local attackers = Utils.Skip(nodUnits, #nodUnits - AttackerSquadSize) | ||
Utils.Do(attackers, function(unit) | ||
unit.AttackMove(waypoint2.Location) | ||
Trigger.OnIdle(unit, function() unit.Hunt() end) |
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.
Trigger.OnIdle(unit, unit.Hunt)
should work in cases like this. You only need to wrap in a function
if the argument count/order are different.
:+2: with those fixes. |
updated |
No description provided.