VE Lua Documentation

Press F to search!

stopLatching

Definition


-- @/=[C]:-1
function stopLatching(...)

Callers

@/lua/ge/extensions/flowgraph/nodes/vehicle/beamstate/couple.lua
  elseif self.data.mode == 'disable' then
    --veh:stopLatching()
    veh:queueLuaCommand("beamstate.disableAutoCoupling()")
@/lua/vehicle/extensions/couplings.lua
local function couplingAttached(nodeId, obj2id, obj2nodeId)
  obj:stopLatching()
  beamstate.disableAutoCoupling()
@/lua/vehicle/beamstate.lua
    if autoCouplingActive or externalAutoCouplingActive then
      obj:stopLatching()
      disableAutoCoupling()