Good day guys,
I am trying to setup HighResShot to use a different name based on variables.
I’ve found that so far in the forum.
HighResShot YOUR_RESULUTION filename=YOUR_FILENAME
HighResShot 3840x2160 filename=D:/example.png
My goal will be to have the name of the Character for the Screenshot.
For example, player enter his name “Bob” that go in a variable “VariableName” and I would like to be able to call that variable inside a command line to execute the screenshot.
HighResShot 2 $VariableName
to have an image named something like that “HighResShotBob.png”
Do you think is it something possible in BluePrint?
If you have ideas or a different way to do it, it will be super helpful.
Thanks in advance guys
I couldn’t find a way how to add a console command to blueprint, but I found this nice workaround which I didn’t know exists so thanks for that
What you can do is execute events on actors that exists in the scene so what I would suggest is add this function to your playercontroller:
which you then can call from the console with:
ke * Shot
Thanks a lot for that clear explanation Lardo Deepdelver.
That is looking simple and nice.
I will try that really quick
Thanks for the Help
happy to help, if it works it would be greatly appreciated if you could accept the answer
the link to description how to call events
I will say your answer should work but the command line by default doesn’t.
I should try it before
When I make the screenshot in game, nothing is written on disk.
I will need to find a way to make it writing the file before changing any name of it