Eggs-D-Studios / wos-issues

Waste of Space bugs, suggestions, and other feedback
10 stars 0 forks source link

Add methods and events to Seat/VehicleSeat #512

Closed RiskoZoSlovenska closed 2 weeks ago

RiskoZoSlovenska commented 1 month ago

Guidelines

Version

Main (Production)

Topic

A programming feature (e.g. APIs, tweaks, changes, etc)

Why are you making your suggestion?

Currently, Seats (and afaik VehicleSeats) have no methods to query the currently-sitting player or get notified when a player sits/leaves. This proposal is meant to fill that gap and allow builds that respond to players sitting in Seats, which would be especially helpful for e.g. Seat+Keyboard-controlled vehicles.

What do you propose? What should change, or what should be added?

I propose the following APIs to be added to Seat (and VehicleSeat):