Files
wow_Meta/api/Screenshot.lua
2024-12-16 13:13:08 +01:00

4 lines
620 B
Lua

---@diagnostic disable: missing-return, lowercase-global
---Saves an image of the current game display. Screenshot images are saved to the folder Screenshots within the folder where the World of Warcraft client is installed. Taking a screenshot fires the SCREENSHOT_SUCCEEDED event (or the SCREENSHOT_FAILED event in case of an error), which causes the default UI to display a message in the middle of the screen. Additional screenshots taken while this message is displayed will include it -- the default UI's TakeScreenshot() function hides this message so it is not included in screenshots.
function Screenshot() end