Lore archive · Warcraft Wiki, 2023 dump
API TakeScreenshot
Last wiki revision 2020-04-04
TakeScreenshot;
Takes a screenshot.
- none
- nil
TakeScreenshot;
- Takes a screenshot. The format of the file saved can be controlled via /console commands or config.wtf settings. See the article on changing the screenshot format.
- TakeScreenshot is a blocking call. Once called the remainder of your Lua script is not executed. If you have script that you need to execute post screenshot you will need to use a state machine and subscribe to the OnUpdate event, or you will need to subscribe to the following events:
- SCREENSHOT_FAILED Called when a screenshot fails.
- SCREENSHOT_SUCCEEDED Called when a screenshot is successfully taken.
Source
https://warcraft.wiki.gg/wiki/API_TakeScreenshot · retrieved 2023-11-13 · CC BY-SA 4.0
Converted from wikitext with templates, tables and images removed, so some sentences may be missing values.
This archive predates WoW: Forever. For collected gameplay facts see the Forever database. Search the archive.