CryEngine - Exit game with C++

I tried this code to quit the game

Code: Select all

But it just freeze the game for a long time (eventually I have to use Alt+F4 to quit the game).

I searched the document but I didn't see any. I did see shut down for C# though
I searched on google and only found this old article, but it's for flow graph.

So how to exit the game with C++ in CryEngine V
Small tips
How to add an image to a forum post
[C++] How to smoothly turn your character

Who is online

Users browsing this forum: No registered users and 6 guests