-
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
Capture showing wrong cursor with multiple Captures trait with differnt cursors against different targets. #21055
Comments
Cursor priority shouldn't have changed? |
I couldn't figure out why it happens, but it does. Seem to visible in basemods (TD) too, with my testcase screenshot on that PR. Trying to repair an enemy husk still shows a red cursor provided its health is above the threshold, while it should be always green. You can also test by adding |
This seem to be affecting Voicelines too. I think i can see why it is happening now, tho not sure how to fix it. Here the CanTarget check returns true for all Captures traits on the actor, making the first trait used for the order generator, as such for cursor and voicelines, regardless of that specific trait's validness of the current target. |
Yes, I fixed the original issue with selection like this here like this |
It shows green cursor on bleed |
Cannot confirm, are you sure the husk you tested with didn't already have less than 50% health? After that point, which natually happens after some time, it does turn to green. It should always be green instead, regardless of the health. |
#20261 seem to have regressed something. I've engine updated GenAlpha to include it and now building capturing use the enter cursor instead of ability one. The enter cursor seems to be coming from the Capture trait for driverless vehicles, commenting out that Captures: trait seems to show the ability cursor properly for the capturer infantry.
The text was updated successfully, but these errors were encountered: