Hi there,
This is super simple but I can’t remember how to do it properly, and I can’t find the answer anywhere.
I am using “unreal.EditorDialog.show_message” to popup a user message. But how do I then what’s the cleanest way to do an if/then statement for the result?
unreal.EditorDialog.show_message("My window name", "Would you like to continue?", unreal.AppMsgType.YES_NO)
I’ve tried building an IF statement based on the help page (ie. with the AppReturnType stuff), but there’s unfortunately no example there for me to understand. (I wish my memory would let me remember code from several years ago, because this hasn’t changed in a while, I know! I just can’t find any examples in my own stuff)
https://docs.unrealengine.com/5.2/en-US/PythonAPI/class/EditorDialog.html#unreal.EditorDialog
toby (virtual filmer)