[SUGGESTION] Screenshots
#1Possibility to take screenshots would be great! Take a nice picture of SCP-096 and publish it on the internet to kill EVERYONE!
Maybe working on a SCP project.
Code: Select all
If KeyHit(67) Then ;press F9 to take a screenshot
n%=0
While True
If FileSize("screenshots\img"+Str(n)+".bmp")=0 Then
SaveBuffer(FrontBuffer(),"screenshots\img"+Str(n)+".bmp")
Msg = "Screenshot taken"
MsgTimer = 70*5
Exit
Else
n=n+1
EndIf
Wend
EndIf
;-; Scary as hell...Serimah wrote:You mean an InGame Screenshot Function? That would be neat but statistically Regalis would be busy with so many other things... *looks at the Modders of this forum*
Also, taking Screens of 096 to show off his beautiful features?
WAY ahead of you![]()
Everything is said here.juanjpro wrote:It's that easyCode: Select all
If KeyHit(67) Then ;press F9 to take a screenshot n%=0 While True If FileSize("screenshots\img"+Str(n)+".bmp")=0 Then SaveBuffer(FrontBuffer(),"screenshots\img"+Str(n)+".bmp") Msg = "Screenshot taken" MsgTimer = 70*5 Exit Else n=n+1 EndIf Wend EndIf
Add this to the start of the main loop.
Serimah wrote:-096face-
You're going to have to help me out here. Shoved that in main loop, the message shows up so it definitely saved the image, but I cannot find a screenshots folder nor any screenshots. Bizarre.juanjpro wrote:It's that easyCode: Select all
If KeyHit(67) Then ;press F9 to take a screenshot n%=0 While True If FileSize("screenshots\img"+Str(n)+".bmp")=0 Then SaveBuffer(FrontBuffer(),"screenshots\img"+Str(n)+".bmp") Msg = "Screenshot taken" MsgTimer = 70*5 Exit Else n=n+1 EndIf Wend EndIf
Add this to the start of the main loop.