Navigation
API > API/Runtime > API/Runtime/AIModule > API/Runtime/AIModule/Actions > API/Runtime/AIModule/Actions/UDEPRECATED_PawnActionsComponent
References
| Module | AIModule |
| Header | /Engine/Source/Runtime/AIModule/Classes/Actions/PawnActionsComponent.h |
| Include | #include "Actions/PawnActionsComponent.h" |
| Source | /Engine/Source/Runtime/AIModule/Private/Actions/PawnActionsComponent.cpp |
void SetControlledPawn
(
APawn * NewPawn
)
Remarks
Use it to save component work to figure out what it's controlling or if component can't/won't be able to figure it out properly @NOTE will throw a log warning if trying to set ControlledPawn if it's already set