🔧DEV Nerds
How to use the Extension (SQF)
//- The Diectory for the Picture will be saved
_file = "C:\My_Picture_Directory";
//- Turn _file into Unicodes32 looks like [65,66,67]
_Unicodes = toArray _file;
/* !! The input must be String !! */
_str_Unicodes = str _Unicodes;
/*
The "_return" is "Unicodes<string>" looks like "[65,66,68]"
*/
_return = "Arma_ScreenShot_Extension" callExtension _str_Unicodes;
//- back to String
_picture_Dir = tostring (parseSimpleArray _return);
How to Set MaxSize (SQF)
//- only Support Integer
_size = 8;
//- "MaxSize" is the only function it has...
_function = "MaxSize";
/*
- Run the extension
"_return" if do it correctly should look like :
["MaxSize success set as 8", 8, 0]
*/
_return = "Arma_ScreenShot_Extension" callExtension [_function ,[_size]];
Last updated