GE Lua Documentation

Press F to search!

removeTrackedVehicleById

Definition


-- @/lua/ge/extensions/gameplay/util/crashDetection.lua:715

local function removeTrackedVehicleById(vehId)
  if trackedVehIds[vehId] then
    trackedVehIds[vehId] = nil
  end
end

Callers

@/lua/ge/extensions/gameplay/drift/drift.lua
  if oldId ~= -1 then
    gameplay_util_crashDetection.removeTrackedVehicleById(oldId)
  end
    elseif context == "inAnotherMissionType" then
      gameplay_util_crashDetection.removeTrackedVehicleById(vehId)
    end
@/lua/ge/extensions/flowgraph/nodes/gameplay/crash/removeTrackedVehicleCrash.lua
function C:work()
  gameplay_util_crashDetection.removeTrackedVehicleById(self.pinIn.vehId.value);
end