Hi,
The most recent change that 'hides' surfaces has broken my "ScreenShot Script". I relied on the surface names so I could loop through them and take a screenshot of each.
-- edit: never mind. I see that the update renamed the surfaces. I had to rename mine back to their custom names.
vvvvv ignore below vvvvv
Do you have any suggestions on how I can find the information on the surface names?
This is a sample of my script:
local stages = {}
stages["01"] = "01-Burner_City"
stages["02"] = "02-Power_0__Lab_0"
stages["03"] = "03-Hand_City"
stages["04"] = "04-Power_Penta"
stages["05"] = "05-OnPatch_1"
local fn = "anypct-25mmdd -"
for stage, title in pairs(stages) do
game.take_screenshot{ position = {-111, 45},
resolution = {x = 12250, y = 8750},
zoom = 0.75, show_entity_info = true,
surface = game.surfaces[stage], path = fn .. title .. ".jpg"}
end
thanks