Navigation
Unreal Engine C++ API Reference > Runtime > Engine > Kismet > UKismetSystemLibrary
References
Module | Engine |
Header | /Engine/Source/Runtime/Engine/Classes/Kismet/KismetSystemLibrary.h |
Include | #include "Kismet/KismetSystemLibrary.h" |
Source | /Engine/Source/Runtime/Engine/Private/KismetSystemLibrary.cpp |
UFUNCTION (BlueprintCallable, Category="Development",
Meta=(WorldContext="WorldContextObject", CallableWithoutWorldContext))
static void ExecuteConsoleCommand
(
const UObject * WorldContextObject,
const FString & Command,
class APlayerController * SpecificPlayer
)
Remarks
Executes a console command, optionally on a specific controller
Parameters
Name | Description |
---|---|
Command | Command to send to the console |
SpecificPlayer | If specified, the console command will be routed through the specified player |