Hey guys,
I know how to read variables from .ini files. I was wondering if the same works for command line arguments aswell. Let´s say I add the command line “-debug=1”. Would be nice if I could access that information in script.
Any idea?
Hey guys,
I know how to read variables from .ini files. I was wondering if the same works for command line arguments aswell. Let´s say I add the command line “-debug=1”. Would be nice if I could access that information in script.
Any idea?
Seems like there is. In the gamemode you can find the “OnInitGame” function. At least in the editor I get command line arguments as a string from the “options” output. I take it from here I guess. Just wanted to let you know in case you need it.
Very helpful if you want to have additional debug commands. Especially in editor.