RFH: Checking if a ghost has a (personal) bot assigned
RFH: Checking if a ghost has a (personal) bot assigned
Is there any way to check if a ghost entity has a (personal) construction bot assigned to deal with it? Same question for those deconstruction red crosses.
-
- Inserter
- Posts: 29
- Joined: Mon Sep 13, 2021 6:53 pm
- Contact:
Re: RFH: Checking if a ghost has a (personal) bot assigned
Not sure if you were still looking for an answer, but I came across these, which I think would do what you wanted:
https://lua-api.factorio.com/latest/Lua ... nstruction
https://lua-api.factorio.com/latest/Lua ... nstruction
https://lua-api.factorio.com/latest/Lua ... nstruction
https://lua-api.factorio.com/latest/Lua ... nstruction
Re: RFH: Checking if a ghost has a (personal) bot assigned
Thanks. That is what I'm looking for. Too bad it doesn't return the bot. Would be even better to know how far away the bot is.