Graal Forums

Graal Forums (https://forums.graalonline.com/forums/index.php)
-   NPC Scripting (https://forums.graalonline.com/forums/forumdisplay.php?f=8)
-   -   Makescreenshot2 (https://forums.graalonline.com/forums/showthread.php?t=134264768)

pig132 10-11-2011 04:46 AM

Makescreenshot2
 
I just found out about this function and am looking to use it. Would it be possible for it to save the screenshot to your graal folder instead of uploading it to the filebrowser (fowlplay4's code)?

Thank you

Mark Sir Link 10-11-2011 05:59 AM

makescreenshot2 saves the file to the graal folder to begin with.

the script you mention is then retrieving the file and uploading it.

pig132 10-11-2011 06:10 AM

Oh...to what directory? I don't see any of the ones ive tested with, and it gives me an error when i try to define the file name as my graal directory.

fowlplay4 10-11-2011 06:17 AM

If you do: makescreenshot2("filename.png", ...);

It will save to:
<Graal folder>/scriptfiles/servername/filename.png

pig132 10-11-2011 06:18 AM

Ah....awesome thank you guys so much :)


All times are GMT +2. The time now is 07:02 PM.

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2026, vBulletin Solutions Inc.
Copyright (C) 1998-2019 Toonslab All Rights Reserved.