Skip to content

OccupantDown

public sealed class OccupantDown

Namespace Chassis.Api

Added in 1.2.0

A seated NPC that just died or was knocked out, as ChassisApi.RegisterOccupantDown hands it over.

public LandVehicle Vehicle

Added in 1.2.0

The vehicle the NPC sits in.

public NPC Npc

Added in 1.2.0

The NPC, about to die or be knocked out; its health still reads the moment before.

public int Seat

Added in 1.2.0

Index into Vehicle.Seats; 0 is the driver.

public bool Dead

Added in 1.2.0

True when the NPC died, false when it was knocked out.