You’re right, FAutoConsoleCommand
is ideal for simple events. However, it can be tricky with arguments, as it requires parsing TArray<FString>
manually to obtain argument values, which adds unnecessary code and could be especially complicated for developers not well-versed in C++.
Meta Cheat Manager simplifies this process. For example, you can directly use arguments in your function like this:
UFUNCTION(meta = (CheatName = "Player.SetHealth"))
void SetHealth(float NewHealth);