SRL Archive - OSR Help

{AUTO} ScreenShot on Level Up {HELP}


Recursive

2012-05-20 15:07:12

I found a funtion in simba called

SaveScreenShot

And I was wondering if anyone knows how to use it. I would like to incorporate it into Simba so that on level up, it can automatically take a screenshot and save it somewhere.

Abu

2012-05-20 15:13:25

if LevelUp then
SaveScreenShot(whatever goes in here);

bg5

2012-05-20 15:59:29

if LevelUp then
SaveScreenshot( SCRIPTPATH + 'LevelUp.bmp'

Recursive

2012-05-20 16:16:20

So I have to save it to a location and then make a name for it that ends in .bmp?

Abu

2012-05-20 16:19:21

From: Chig
So I have to save it to a location and then make a name for it that ends in .bmp?


As far as I was concerned you just entered the file location, but I guess that by ending '+ Level.bmp' it will save it as LevelUp which is a bonus.

Rich

2012-05-20 16:25:39

Just a note, you might want to add the time (or something like that) to the end of the name in case you level up more than once, so
if LevelUp then
SaveScreenShot(ScriptPath + 'LevelUp ' + TheTime + '.bmp');

Recursive

2012-05-20 16:27:07

Okay thanks for thanks for the reponses guys! Now how to make it recognise the new level up messages…

Gucci

2012-05-21 17:44:50

From: Chig
Okay thanks for thanks for the reponses guys! Now how to make it recognise the new level up messages…


That's what LevelUp is for, it's a built in SRL function

if LevelUp then // LevelUp is a SRL function
SaveScreenShot(ScriptPath + 'LevelUp ' + TheTime + '.bmp');