Listen Server

How do I launch the game as a Listen Server that isn’t running the command “MapName?listen -game” surely there is a way in code to start listening for connections?

Adding ?listen to the map name before calling ServerTravel() doesn’t seem to launch a Listen Server either.

Any suggestions?

Hi,

You can try this

GetWorld()->Listen(url);

or

ConsoleCommands("open mymap?listen");

Best regards,

Thanks alot dude! GetWorld()->Listen(url) seemed to do the trick!

Yay, exactly what I was looking for. =D