
Originally Posted by
softbzero2
@"shadow wolf"
What script for ss you using? I was using from examples but i lose 30 screenshoots with this..
I use this one:
lua code:--[[
This is a XenoBot example script, intended to
teach new users about the scripting API and
act as script that is usable in actual play.
levelupScreenshot.lua - takes a screenshot upon level up
** DO NOT EDIT THIS FILE. INSTEAD, COPY IT TO
"Documents\XenoBot\Scripts" AND EDIT THE COPY. **
]]--
--this continuously loops, executing the code inside over and over again
while (true) do
local name = Self.Name() --stores our name at the start
local level = Self.Level() --stores our level at the start
--this loops until our name changes (meaning we switched characters)
while (name == Self.Name()) do
--this checks if our level has increased, and screenshots if so
if (Self.Level() > level) then
level = Self.Level() --updates the stored level
screenshot(name .. " level " .. level) --filename is "{name} level {level}
end
--this causes the loop to wait between 1 and 2 seconds before retrying
wait(1500, 2500)
end
end
As for how you are loosing screenshot, I'm not sure sorry. I don't think I've ever lost a screenshot with this script.