Which classes can have Exec UFUNCTIONs?

Exec: The function can be executed from the in-game console. Exec commands only function when declared within certain Classes.

That’s all UE4 documentation tells you about Exec. How can I find out which are those certain Classes? Or more documentation about how Exec UFUNCTION works? It’s a bit silly that searching for Exec functions takes you to UDK 2 or 3…

I found this really useful link that explained enough to me so I could achieve my goal.

I’m using ke * FunctionName to execute methods from any (yes, ANY) object in the game. Even private methods work! Ridiculously powerful for debugging, more people should know about this. Deserves a place in the official documentation IMO.

1 Like