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
Add ability to remove all orders when RejectOrders is activated #21233
Add ability to remove all orders when RejectOrders is activated #21233
Conversation
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.
Seems simple enough, but this also cancels the current activity. Maybe we should rename the property and change the description? Otherwise you'll need something like self.CurrentActivity?.NextActivity?.Cancel(self)
.
51063c2
to
73011d5
Compare
I need current activity also to be canceled. I rename variable to RemoveOrders is its clear that all activities are canceled. Otherwise updated according to your suggestions. Off topic: |
If you add a tooltip Name is required to have a value |
3d3a2f4
to
7243314
Compare
Can you remove the testcase, please? |
7243314
to
6ff359a
Compare
Testcase removed |
6ff359a
to
0a82efb
Compare
Behaves as Stop command when RejectOrders is activated. This is something I need for my Enhanced maps.
Testcase: use chaosBomb on Infantry while it have some queued activities.