GE Lua Documentation

Press F to search!

getVehId

Definition


-- @/lua/ge/extensions/gameplay/drift/drift.lua:838

local function getVehId()
  return vehId
end

Callers

@/lua/ge/extensions/gameplay/drift/destination.lua

  vehData = map.objects[gameplay_drift_drift.getVehId()]
  if not vehData then return end
@/lua/ge/extensions/gameplay/drift/freeroam/driftSpots.lua
local function onVehicleResetted(id)
  if id == gameplay_drift_drift.getVehId() then
    improperEnd(improperEndReasons.vehReset)
@/lua/ge/extensions/gameplay/drift/stuntZones/hitPole.lua
  if self.activeData.veh and map then
    local vehMap = map.objects[gameplay_drift_drift.getVehId()]
@/lua/ge/extensions/gameplay/drift/bounds.lua

  if gameplay_drift_drift.getVehId() == -1 then return end
@/lua/ge/extensions/flowgraph/nodes/gameplay/drift/driftVeh.lua

  self.pinOut.vehId.value = gameplay_drift_drift.getVehId()
end
@/lua/ge/extensions/gameplay/drift/stuntZones/nearPole.lua
  if self.activeData.veh and map then
    local vehMap = map.objects[gameplay_drift_drift.getVehId()]