local get_drone_name = function()
return "transport-drone-"..random(variation_count)
end
local player_enter_drone = function(player, drone)
script_data.riding_players[player.index] = drone
drone.riding_player = player.index
drone:update_speed()
end
...
Hmm.. what to do? My first impression is that i should make an exception for Transport Drones and ignore those "players". Did you mean your own vehicle snapped before perfectly or that both your own and they did?
Edit: I'm guessing drone players don't have "character" set, so it could be used to detect vehicles with real players. If Klonan wants to implement snapping for those vehicles, he can alter the paths of them and he already has an idle loop for driving.