APawn::PossessedBy

Called when this Pawn is possessed. Only called on the server (or in standalone).

Windows
MacOS
Linux

Override Hierarchy

References

Module

Engine

Header

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

Include

#include "GameFramework/Pawn.h"

Source

/Engine/Source/Runtime/Engine/Private/Pawn.cpp

Syntax

virtual void PossessedBy
(
    AController * NewController
)

Remarks

Called when this Pawn is possessed. Only called on the server (or in standalone).

Parameters

Parameter

Description

NewController

The controller possessing this pawn

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