Skip to content
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

Builders won't assign to Construction Sites after adding an AIPlayerController #189

Open
sumrex opened this issue Apr 22, 2022 · 0 comments

Comments

@sumrex
Copy link

sumrex commented Apr 22, 2022

I have a system where players can attack a building to capture it. When they do I switch it's team and run StartConstruction from the ConstructionSite component. This works and my debug text says as much.
When I add an AIPlayerController to my GameMode this functionality stops working. The building does switch teams and does switch construction states, but builders refuse to be assigned to it. My debug text tells me that it is staying at 0 progress. When I right click the building, my builder faces it and stops, no matter how close it is, and does nothing; it definitely isn't building though.

I haven't replicated this in the sample project, partially because building doesn't seem to work in that to begin with. My settings appear to match, though a lot of them are spread across so many components in this plugin I could have easily missed one or more.
The AIPlayer doesn't seem to do anything in either project, though I'm under the impression that this plugin doesn't provide any of that functionality out of the box; either way if that part is a bug I'll make another issue for it, I only mention it here in case it is related.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant