Navigation
Unreal Engine C++ API Reference > Runtime > Engine > GameFramework > APawn
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 |
virtual AController &42; GetDamageInstigator
&40;
AController &42; InstigatedBy,
const UDamageType & DamageType
&41; const
Remarks
Get the controller instigating the damage. If the damage is caused by the world and the supplied controller is nullptr or is this pawn's controller, uses LastHitBy as the instigator.