Skip to content

Duped E2-spawned seats don't keep their vehicleType #530

Description

@Arna577

Describe the bug

Title. I needed an airboat with no movement, so I spawned a seat with E2 and integrated it into my design, only to find out that after duping, the camera limitations imposed by the default vehicle type were back.

How to reproduce the bug

  1. Spawn a seat with something like:

@name Spawn Seat
const Model = "models/airboat.mdl"
seatSpawn(Model, entity():pos(), ang(0), 1, "phx_seat3")

  1. Get in and see the unrestrained camera movement

  2. Get out and duplicate the seat

  3. Get in and notice the now restrained camera movement

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions