aboutsummaryrefslogtreecommitdiff
path: root/crates/fparkan-runtime/src/script_patrol.rs
Commit message (Collapse)AuthorAgeFilesLines
* feat(ai): queue scenario move orders for mobile unitsValentin Popov2026-11-141-1/+13
| | | | Runs the stock order sequence in mission 16. Both mobile headquarters receive five destinations in script order. Movement uses existing terrain routing until the native Go task is wired.
* feat(ai): patrol around script-selected objectsValentin Popov2026-11-141-11/+36
| | | | Uses the TMA logical ID to route a warbot around the current position of a building or unit. The original Behavior.dll confirms target class selection and radius. Mission 13 now assigns building patrols at stock startup.
* feat(ai): honor scenario warbot shutdown ordersValentin Popov2026-11-141-12/+21
| | | | Behavior.dll task dispatch selects ShutDown for order 0x13. Stop autonomous motion and fire until a new supported order is assigned. The field-camp clan now completes Init and all three placed warbots receive the shutdown order.
* feat(ai): issue scripted place patrols from clan InitValentin Popov2026-11-141-0/+101
Handler(15) читает живые клетки и направляет размещённого варбота в указанную точку. Кампания 01, миссия 02 при штатном старте ставит четыре патруля и продолжает Init до Handler(51).