Skip to content

[FEATURE] Expose NPC vehicle entry and exit events #243

Description

@ifBars

What would you like to see?

Add managed NPC vehicle lifecycle events:

  • OnEnterVehicle(LandVehicle vehicle)
  • OnExitVehicle(LandVehicle vehicle)

Why would this help?

NPC behavior, quest, traffic, and vehicle mods need to react when an NPC enters or exits a vehicle. Today they must subscribe to native delegates directly.

Extra Context (Optional)

The native onEnterVehicle and onExitVehicle delegates still exist in Mono and IL2CPP, and S1API already has a LandVehicle wrapper. Preserve the native event timing and clean up runtime-specific delegate bridges safely.

Metadata

Metadata

Assignees

No one assigned

    Labels

    LowVery minor issue, non gameplay hindering, fix all high prio firstenhancementNew feature or request

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions