Please implement a way to programmatically eject a concrete player agent from a vehicle. Right now the only solution requires to respawn and respawn the vehicle, but that does not fit for all use cases. For example a vehicle could be owned by a certain player and it would be desirable to disallow other players to enter the vehicle or to potentially block it. If a non-owning player happens to such a vehicle it would be great if we had the ability to manually program a logic to kick them out that vehicle.
@Knight_Breaker Thank you for your feedback. While I cannot guarantee a response, I can confirm that this has been forwarded to the appropriate team.
To the team at Epic that was working on this. Thank you. I spotted that there has been work done in this direction.
I think we’re almost there.
# Succeeds if `agent` is the driver of the vehicle.
IsDriver<epic_internal>(Agent:agent)<transacts><decides>:void = external {}
# Succeeds if `agent` is the passenger of the vehicle.
IsPassenger<epic_internal>(Agent:agent)<transacts><decides>:void = external {}
# Returns the `agent` who is currently driving the vehicle.
GetDriver<epic_internal>()<transacts><decides>:agent = external {}
- We’re still missing an
GetPassengers
which would return an array of passengers (yes it’s available onfort_vehicle
itself, but then the above APIs seem to be out of place), maybe they should be moved tofort_vehicle
? - Please still provide an
Eject(): void
andEject(Agent: agent): void
methods just like on thechair_device
.
Bumping cause 1 year later still don’t have an Eject function which would be super useful! Being able to teleport vehicles would be great as well
1 Like