AGameModeBase::K2_OnChangeName

Overridable event for GameMode blueprint to respond to a change name call

Windows
MacOS
Linux

References

Module

Engine

Header

/Engine/Source/Runtime/Engine/Classes/GameFramework/GameModeBase.h

Include

#include "GameFramework/GameModeBase.h"

Syntax

void K2_OnChangeName
(
    AController * Other,
    const FString & NewName,
    bool bNameChange
)

Remarks

Overridable event for GameMode blueprint to respond to a change name call

Parameters

Parameter

Description

Controller

The controller of the player to change the name of

NewName

The name to set the player to

bNameChange

Whether the name is changing or if this is the first time it has been set

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