Module |
|
Header |
/Engine/Source/Runtime/Engine/Classes/Kismet/KismetSystemLibrary.h |
Include |
#include "Kismet/KismetSystemLibrary.h" |
Source |
/Engine/Source/Runtime/Engine/Private/KismetSystemLibrary.cpp |
static void ExecuteConsoleCommand
(
const UObject * WorldContextObject,
const FString & Command,
class APlayerController * SpecificPlayer
)
Executes a console command, optionally on a specific controller
Parameter |
Description |
---|---|
Command |
Command to send to the console |
SpecificPlayer |
If specified, the console command will be routed through the specified player |