Is it possible to add custom commands to the console in game?

Just like when you type “Fly” it activates a function that makes you fly.
I would like to make a command that will call a function that saves the game and will also receive a string so i will be able to save multiple saves with different names.

Hi!

You can create custom event, f.e. myCustomEvent in Level Blueprint and type in console “ce myCustomEvent”.
Or add it in C++ code

Thanks man this is awesome !

I’m having issues getting this working on a dedicated server. The client event is firing, but when I try to execute another event on the server to actually do the work, nothing happens.