Download

Console variables in UE4

Hello everyone,

I was just wondering if it’s possible to make console variables in Unreal Engine 4?

Like if you are the admin of the server, you open up the console, login with rcon password, and type variables to modify the world?

For example changing the time, teleporting the player, and stuff like that?

Like: tp [player1] to [player2] a.k.a /tp OzoneBG to OzoneBG2

I believe I have to check the console, and if the input starts with / then threat it like a command and call a function from C++? Or there is something else?

Definitely possible, this might help you :slight_smile:

Thanks for the link. Basicly I need to create a .h file interface with the commands I want and then implement them in the blueprint? Easy as that? :smiley: