Allow assigning god-mode players to vehicles
Posted: Thu Mar 02, 2017 2:15 am
A god-mode player with no character can still enter vehicles and travel with them, and the vehicle is visible through player.vehicle, but vehicle.passenger is nil. As far as I can tell, there's no way to assign a god-mode player to a vehicle.
I assume multiple god-mode players can follow a single vehicle, so maybe entities should have a writable "observer" field which lists all players for whom player.vehicle would return that entity. Alternatively, allowing the player.vehicle field to be writable would solve this as well (but might conflict with handling of passengers).
I assume multiple god-mode players can follow a single vehicle, so maybe entities should have a writable "observer" field which lists all players for whom player.vehicle would return that entity. Alternatively, allowing the player.vehicle field to be writable would solve this as well (but might conflict with handling of passengers).