deltanedas / rtfm

A documentation library mod for Mindustry.
GNU General Public License v3.0
78 stars 20 forks source link

`pathfind` isn't a default AI #19

Closed Nakilon closed 3 years ago

Nakilon commented 3 years ago

I feel like this is wrong:

https://github.com/DeltaNedas/rtfm/blob/ffd7586e6195ca0d2cc0c4f6cb2eaef3ea6b64ab/manuals/Logic/Instructions#L250

The pathfind makes Crawlers run towards the enemy spawn, just surround it and do nothing -- pretty much useless. While the uncontrolled Crawler not just runs obeying the Attack Control Center mode but also eplodes when hits any enemy structure.

Nakilon commented 3 years ago

Also it works weirdly for Horizon -- the unit is flying but the findpath leads it around the walls and the flight ends not even on the enemy base but 10 blocks to the right from it.

deltanedas commented 3 years ago

this is not mindustry's bug tracker

case pathfind -> {
    ai.control = type;
}

as far as i can tell, pathfind is still supposed to revert to standard controlling