Skip to content

Implement spawnFlyingComponents for all vehicle functions #2149

@FileEX

Description

@FileEX

Is your feature request related to a problem? Please describe.
We have the setVehicleDoorState function with the "spawnFlyingComponents" argument, I think it would be useful to add this argument also when the part is assembled (eg in a mechanic, we repair a damaged door, assuming a new one, the "invisible" door falls off the vehicle when installing the new one). Also in the case of the setVehicleVariant function - If, for example, we have a binded variant change and we damage the vehicle, and then switch between variants, the damaged parts from the vehicle still fall off again and you can spam them. Yes, they don't have collisions, but it looks weird

Describe the solution you'd like
Add spawnFlyyingComponens for setVehicleVariant function and for setVehicleDoorState for all states (not only doorless), and also implement this argument for wheels and panels state.

Describe alternatives you've considered

Additional context
image

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions