-
Notifications
You must be signed in to change notification settings - Fork 4.7k
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Sim run console command #2996
Sim run console command #2996
Conversation
…ole commands, and user can create their own in the level blueprint.
Just noticed that ConsoleCommand returns a FString, which I guess contains the output of the command if any. Could we perhaps return that instead of just a boolean to indicate whether the command was run? Also needs an unimplemented placeholder function in Unity for compilation, for some reason Travis isn't appearing in the checks |
ConsoleCommand always returns the empty string. The last line of the function in the engine source is actually |
Oh, wasn't aware of that, thanks! |
It is very strange that the documentation for the function doesn't explain what the return value is. |
Accidentally closed and reopened. |
lgtm. It would be great to have a docstring, and an example script (for say stat fps / stat unit) as well! |
This allows the client to execute a command in Unreal's native console, via an API.