GE Lua Documentation

Press F to search!

getScreenShotDateTimeString

Definition


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

Callers

@/lua/ge/extensions/gameplay/drag/general.lua
local function screenshotTimeslip()
  local dir = "screenshots/timeslips/"..getScreenShotDateTimeString()
  screenshot.doScreenshot(nil, nil, dir,'jpg')
@/lua/ge/screenshot.lua
    repeat
      filename_without_ext = 'screenshot_' .. tostring(getScreenShotDateTimeString())
      if counter > 0 then
  if not FS:directoryExists(path) then FS:directoryCreate(path) end
  local screenshotDateTimeString = getScreenShotDateTimeString()
  local subFilename = string.format("%s/screenshot_%s", path, screenshotDateTimeString)