Navigation
API > API/Runtime > API/Runtime/Engine > API/Runtime/Engine/UCheatManager
Description
Destroy all pawns except for the (pawn) target. If no (pawn) target is found we don't destroy anything.
| Name | DestroyAllPawnsExceptTarget |
| Type | function |
| Header File | /Engine/Source/Runtime/Engine/Classes/GameFramework/CheatManager.h |
| Include Path | #include "GameFramework/CheatManager.h" |
| Source | /Engine/Source/Runtime/Engine/Private/CheatManager.cpp |
UFUNCTION (Exec)
virtual void DestroyAllPawnsExceptTarget()