Download

Start game with Python command

Hello everyone,

I am still exploring the Unreal Editor in Python and now I want to start the game in the editor, automated by Python. So I am looking for a Python command which has the same effect like clicking on the big play button in the editor manually (or pressing Alt + P). I found the command
unreal.EditorLevelLibrary.editor_play_simulate()
but I just learned there is a difference between just play and play simulate (Alt + S or the Python command).
So I tried to find something like a just play command in the documentation (maybe like EditorLevelLibrary.editor_play()), but I wasn’t able to find one. Is there anything like that and I was just unable to find it? Or is there another way to do it? Thank you very much for your help!

Have you ever solved this problem?