Field manualСправочник / MechanicsМеханика

OrderKind

src/DustConvoy.Sim/World/Entities.cs

MembersЗначения

NameИмяValueЗначениеNoteЗаметка
None0
Stand1Walk to a truck-local point and stay there.
Drive2Take the driver seat of a convoy truck and follow the lead truck.
Turret3Man the front turret of a convoy truck.
MoveTo4Walk to a world point outside (only while the convoy is stopped).
Attack5Focus 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.
DriveTo6Seated ally driver takes PawnOrder.Truck to a world point (PawnOrder.Target), then drives on as usual.
Follow7Stay close to PawnOrder.Pawn (the player who gave it), into whatever truck they board.
PickUp8Walk to a dropped item (PawnOrder.Target: world point, or truck-local when PawnOrder.Truck is set) and pick it up.
FetchModule9Walk 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.
SwapModule10Walk to a filled module slot and swap it for the module in hand.
Repair11Walk 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.
Patrol12Stroll the way a location NPC does: a spot nearby, a pause, another spot. Quiet while they do it.
Aid13One 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.
Deliver14After 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.