AI1:SetScript("OnEvent", function(self, event, ...) if event == "UNIT_VEHICLE_ENTERED" then --show Vehicle UF elseif event == "UNIT_VEHCILE_EXITED" then --show normal UF end end)