OccupantDown
public sealed class OccupantDownNamespace Chassis.Api
Added in 1.2.0
A seated NPC that just died or was knocked out, as ChassisApi.RegisterOccupantDown hands it over.
Fields
Section titled “Fields”Vehicle
Section titled “Vehicle”public LandVehicle VehicleAdded in 1.2.0
The vehicle the NPC sits in.
public NPC NpcAdded in 1.2.0
The NPC, about to die or be knocked out; its health still reads the moment before.
public int SeatAdded in 1.2.0
Index into Vehicle.Seats; 0 is the driver.
public bool DeadAdded in 1.2.0
True when the NPC died, false when it was knocked out.