VE Lua Documentation

Press F to search!

setResetSnapshotKey

Definition


-- @/lua/vehicle/partCondition.lua:70

local function setResetSnapshotKey(snapshotKey)
  resetSnapshotKey = snapshotKey
end

Callers

@/lua/vehicle/partCondition.lua
    createConditionSnapshot("reset")
    setResetSnapshotKey("reset")
    return
  createConditionSnapshot("reset")
  setResetSnapshotKey("reset")
end
@/lua/vehicle/extensions/gameplayInterfaceModules/interactPartCondition.lua

local function setResetSnapshotKey(params)
  local dataTypeCheck, dataTypeError = checkTableDataTypes(params, {"string"})
  local snapshotKey = params[1]
  partCondition.setResetSnapshotKey(snapshotKey)
end
  partCondition.createConditionSnapshot(snapshotKey)
  partCondition.setResetSnapshotKey(snapshotKey)
end