-
Notifications
You must be signed in to change notification settings - Fork 182
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
Prevent action if unit already has that action #249
Comments
This is something I personally do within my own bot.
…On Wed, Feb 27, 2019 at 1:26 PM FW ***@***.***> wrote:
Many python bots suffer from sending the same action many times, for
example if an army is sent over the map and get the same attack command
every frame.
We should filter out unnecessary commands in do_actions or combine_actions
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#249>, or mute the thread
<https://github.com/notifications/unsubscribe-auth/ATQirZD9rzh1fC4nREwy_ZmTG_IpLlXEks5vRunZgaJpZM4bVYiU>
.
|
So if the order_target corresponds to the new action, just don't do the new action? |
the action has to be the same,too |
okay, makes sense. |
Do you think the single actions should have this option or the do_actions function? That means: do you want to force every action for that do_actions call or only specific actions? |
I think it makes sense to change both of them, if it's not too much work. |
Fixed in #252 |
Many python bots suffer from sending the same action many times, for example if an army is sent over the map and gets the same attack command every frame.
We should filter out unnecessary commands in
do_actions
orcombine_actions
The text was updated successfully, but these errors were encountered: