Navigation
API > API/Runtime > API/Runtime/Engine > API/Runtime/Engine/AActor
Overloads
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
| Returns the instigator's controller for this actor, or nullptr if there is none. | GameFramework/Actor.h |
|
|
T * GetInstigatorController () |
Returns the instigator's controller, cast as a specific class. | GameFramework/Actor.h |
GetInstigatorController()
Description
Returns the instigator's controller for this actor, or nullptr if there is none.
| Name | GetInstigatorController |
| Type | function |
| Header File | /Engine/Source/Runtime/Engine/Classes/GameFramework/Actor.h |
| Include Path | #include "GameFramework/Actor.h" |
| Source | /Engine/Source/Runtime/Engine/Private/Actor.cpp |
UFUNCTION (BlueprintCallable, Meta=(BlueprintProtected="true"), Category="Game")
AController * GetInstigatorController() const
GetInstigatorController()
Description
Returns the instigator's controller, cast as a specific class.
| Name | GetInstigatorController |
| Type | function |
| Header File | /Engine/Source/Runtime/Engine/Classes/GameFramework/Actor.h |
| Include Path | #include "GameFramework/Actor.h" |
template<class T>
T * GetInstigatorController() const
The instigator's controller for this actor if it is the specified type, nullptr otherwise.