ue_console_command
Run Unreal Engine editor console commands and capture the log output. It returns only the new log lines, showing results of commands like stat fps.
Instructions
Esegue un comando della console dell'editor e restituisce ciò che stampa.
I comandi di console non restituiscono valori: scrivono nel log. Questo tool misura il log prima e dopo e riporta solo le righe nuove, altrimenti la risposta sarebbe "fatto" e nient'altro.
Utile per stat unit, r.ScreenPercentage 50, showflag.*, DumpConsoleCommands.
Passa dall'interprete Python dell'editor, non dal gate
bAllowConsoleCommandRemoteExecution della Remote Control API, che resta
spento: da qui si può fare tutto quello che si fa dalla console, quit
compreso.
Args: command: il comando, es. "stat fps". wait_seconds: quanto attendere che il motore scriva nel log.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| command | Yes | ||
| wait_seconds | No |