Teach compilatron to avoid fires
Posted: Tue Nov 23, 2021 2:07 am
At game start I create a compilatron entity and give it the command to go near a stone patch using:
Compilatron does faithfully go there too, that isn't the problem. But at start the crashed spaceship is burning and depdning where the stone patch is compilatron drives through the flames and takes damage.
Can I tell it to keep more distance to fire?
Code: Select all
bot.entity.set_command({
type = defines.command.go_to_location,
destination = resource.position,
radius = HAND_RADIUS / 2,
})
Can I tell it to keep more distance to fire?