x

Search in
Sort by:

Question Status:

Search help

  • Simple searches use one or more words. Separate the words with spaces (cat dog) to search cat,dog or both. Separate the words with plus signs (cat +dog) to search for items that may contain cat but must contain dog.
  • You can further refine your search on the search results page, where you can search by keywords, author, topic. These can be combined with each other. Examples
    • cat dog --matches anything with cat,dog or both
    • cat +dog --searches for cat +dog where dog is a mandatory term
    • cat -dog -- searches for cat excluding any result containing dog
    • [cats] —will restrict your search to results with topic named "cats"
    • [cats] [dogs] —will restrict your search to results with both topics, "cats", and "dogs"

Screenshots at Runtime - Save Location

Trying to build a screenshot blueprint, is there a way to take a value from UMG (screenshot location - this is another question though), and combine that string with the Shot and HighResShot console commands in order for the player to specify where on his computer he wants screenshots to be saved?

Product Version: UE 4.11
Tags:
more ▼

asked Apr 11 '16 at 04:43 AM in Blueprint Scripting

avatar image

SaviorNT
127 9 12 19

(comments are locked)
10|2000 characters needed characters left
Viewable by all users

1 answer: sort voted first

I'm actually not aware of how to do this. I'd think you'd have to create a C++ function library to do the screenshot, and then move the file afterwards from /saved/screenshots to the destination of your/player choice.

It's fairly easy to do.

Example: https://wiki.unrealengine.com/Blueprint_Function_Library,_Create_Your_Own_to_Share_With_Others

Doco: https://docs.unrealengine.com/latest/INT/Programming/BlueprintFunctionLibraries/

more ▼

answered Apr 11 '16 at 07:14 AM

avatar image

keyle
1.8k 66 27 90

avatar image keyle Apr 11 '16 at 07:15 AM

So to be clear, the C++ function in the lib would do the console command to get the screenshot (or they may be a c++ screenshot command) and then do the move via the file system

https://docs.unrealengine.com/latest/INT/Engine/Basics/Screenshots/index.html

avatar image SaviorNT Apr 11 '16 at 12:55 PM

So the only way to do this would be to create a blueprintable c++ function?

avatar image keyle Apr 12 '16 at 01:02 AM

I think so as there is no mention in the doco on how to change the 'default location' - but someone might have a better answer.

(comments are locked)
10|2000 characters needed characters left
Viewable by all users
Your answer
toggle preview:

Up to 5 attachments (including images) can be used with a maximum of 5.2 MB each and 5.2 MB total.

Follow this question

Once you sign in you will be able to subscribe for any updates here

Answers to this question