Navigation
API > API/Runtime > API/Runtime/Engine > API/Runtime/Engine/AActor
Overloads
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
APawn * GetInstigator () |
Returns the instigator for this actor, or nullptr if there is none. | GameFramework/Actor.h |
|
T * GetInstigator () |
Get the instigator, cast as a specific class. | GameFramework/Actor.h |
GetInstigator()
Description
Returns the instigator for this actor, or nullptr if there is none.
| Name | GetInstigator |
| 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")
APawn * GetInstigator() const
GetInstigator()
Description
Get the instigator, cast as a specific class.
| Name | GetInstigator |
| Type | function |
| Header File | /Engine/Source/Runtime/Engine/Classes/GameFramework/Actor.h |
| Include Path | #include "GameFramework/Actor.h" |
template<class T>
T * GetInstigator() const
The instigator for this actor if it is the specified type, nullptr otherwise.