5mpower 0 Posted February 19, 2021 Hello for everyone! I have a trouble: my script takes screenshot of object and i need to create log file with full dimensions of this object (basically, i need a four points of object: upper left, upper right, lower left, lower right). How can i save it? I read about saveProfileNamespace, but i cant find where i can find file with logs in arma 3 directory. Or maybe there are any way of creating .txt file with each screensot? Thanks for help before! Share this post Link to post Share on other sites
stanhope 412 Posted February 20, 2021 Do you need to be able to access the data in game again or just export it? If you need to be able to access it again: saveProfileNamespace is indeed the way to go. Using profileNamespace setVariable ["your_prefix_dim",[x,y,z,...]]; and then saveprofilenamespace, to load it again, use profileNamespace getVariable ["your_prefix_dim",[]; If you do not need to access the data again: diag_log to write it to your RPT or copyToClipboard to copy it to your clipboard Share this post Link to post Share on other sites
5mpower 0 Posted March 11, 2021 Yep, that works thanks Share this post Link to post Share on other sites
5mpower 0 Posted March 30, 2021 On 2/20/2021 at 11:14 PM, stanhope said: Do you need to be able to access the data in game again or just export it? If you need to be able to access it again: saveProfileNamespace is indeed the way to go. Using profileNamespace setVariable ["your_prefix_dim",[x,y,z,...]]; and then saveprofilenamespace, to load it again, use profileNamespace getVariable ["your_prefix_dim",[]; If you do not need to access the data again: diag_log to write it to your RPT or copyToClipboard to copy it to your clipboard Can i ask one more question? Is there Any function to get 4 extreme points of object? (Top left, top right, etc..). BoundingBoxReal? Share this post Link to post Share on other sites