Difference between revisions of "TakeScreenshot"

From Dragon Age Toolset Wiki
Jump to: navigation, search
m (1 revision: Importing auto-generated function articles)
(looks okay, removing tag)
 
(2 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{Generated}}
 
 
{{dafunction
 
{{dafunction
 
|name=TakeScreenshot
 
|name=TakeScreenshot
Line 6: Line 5:
 
|param1name=bHideInterface
 
|param1name=bHideInterface
 
|param1desc=(optional) boolean to hide the interface or not
 
|param1desc=(optional) boolean to hide the interface or not
 +
|param1default=0
 
|param2type=int
 
|param2type=int
 
|param2name=nTitleStrRef
 
|param2name=nTitleStrRef
 
|param2desc=(optional) strref for the screenshot's title
 
|param2desc=(optional) strref for the screenshot's title
 +
|param2default=0
 
|param3type=int
 
|param3type=int
 
|param3name=nDescriptionStrRef
 
|param3name=nDescriptionStrRef
 
|param3desc=(optional) strref for the screenshot's description
 
|param3desc=(optional) strref for the screenshot's description
 +
|param3default=0
 
|param4type=int
 
|param4type=int
 
|param4name=nType
 
|param4name=nType
 
|param4desc=(optional) int Screenshot type (auto-screenshot, achievement screenshot, etc)
 
|param4desc=(optional) int Screenshot type (auto-screenshot, achievement screenshot, etc)
 +
|param4default=0
 
|param5type=string
 
|param5type=string
 
|param5name=sId
 
|param5name=sId
 
|param5desc=(optional) string screenshot Id for web journal positioning
 
|param5desc=(optional) string screenshot Id for web journal positioning
 +
|param5default=""
 
|returntype=void
 
|returntype=void
 
|returndesc=
 
|returndesc=

Latest revision as of 21:18, 2 March 2010

saves a screenshot to the screenshots directory on the players hard drive

void TakeScreenshot(
int bHideInterface = 0,
int nTitleStrRef = 0,
int nDescriptionStrRef = 0,
int nType = 0,
string sId = ""
);
Parameters:
bHideInterface
(optional) boolean to hide the interface or not
nTitleStrRef
(optional) strref for the screenshot's title
nDescriptionStrRef
(optional) strref for the screenshot's description
nType
(optional) int Screenshot type (auto-screenshot, achievement screenshot, etc)
sId
(optional) string screenshot Id for web journal positioning
Returns:

Nothing.

Source:

script.ldf