Field manualСправочник / MechanicsМеханика
OrderKind
src/DustConvoy.Sim/World/Entities.cs
MembersЗначения
| NameИмя | ValueЗначение | NoteЗаметка |
|---|---|---|
None | 0 | |
Stand | 1 | Walk to a truck-local point and stay there. |
Drive | 2 | Take the driver seat of a convoy truck and follow the lead truck. |
Turret | 3 | Man the front turret of a convoy truck. |
MoveTo | 4 | Walk to a world point outside (only while the convoy is stopped). |
Attack | 5 | Focus fire on one hostile (PawnOrder.Pawn) or hostile truck (PawnOrder.Truck). A driver chases it and a gunner tracks it while their truck rolls; once it stops they climb out and fight on foot. |
DriveTo | 6 | Seated ally driver takes PawnOrder.Truck to a world point (PawnOrder.Target), then drives on as usual. |
Follow | 7 | Stay close to PawnOrder.Pawn (the player who gave it), into whatever truck they board. |
PickUp | 8 | Walk to a dropped item (PawnOrder.Target: world point, or truck-local when PawnOrder.Truck is set) and pick it up. |
FetchModule | 9 | Walk to a module slot and take it. Truck slot: PawnOrder.Truck and PawnOrder.Pawn is the slot. A building: truck -1, pawn packs location, floor and slot. |
SwapModule | 10 | Walk to a filled module slot and swap it for the module in hand. |
Repair | 11 | Walk up and fix one broken thing. A module: PawnOrder.Pawn is the slot (a building packs location, floor and slot, with PawnOrder.Truck at -1). The truck itself: pawn is -1. |
Patrol | 12 | Stroll the way a location NPC does: a spot nearby, a pause, another spot. Quiet while they do it. |
Aid | 13 | One pawn tends another. PawnOrder.Pawn is the other one. The healer has PawnOrder.Idle clear and walks into reach, then both hold the spot in PawnOrder.Target (they may still turn). The patient is marked PawnOrder.Idle. |
Deliver | 14 | After a pickup, hand the item to PawnOrder.Pawn. PawnOrder.Target X is the backpack slot, or -1 until the pickup lands. Y is how many to hand; 0 means the whole slot. |