UKismetSystemLibrary::ExecuteConsoleCommand

Executes a console command, optionally on a specific controller

Windows
MacOS
Linux

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

Syntax

static void ExecuteConsoleCommand
(
    const UObject * WorldContextObject,
    const FString & Command,
    class APlayerController * SpecificPlayer
)

Remarks

Executes a console command, optionally on a specific controller

Parameters

Parameter

Description

Command

Command to send to the console

SpecificPlayer

If specified, the console command will be routed through the specified player

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss