Navigation
API > API/Runtime > API/Runtime/Engine
Specifies if an AI pawn will automatically be possessed by an AI controller
| Name | EAutoPossessAI |
| Type | enum |
| Header File | /Engine/Source/Runtime/Engine/Classes/Engine/EngineTypes.h |
| Include Path | #include "Engine/EngineTypes.h" |
Syntax
enum EAutoPossessAI
{
Disabled,
PlacedInWorld,
Spawned,
PlacedInWorldOrSpawned,
}
Values
| Name | Remarks |
|---|---|
| Disabled | Feature is disabled (do not automatically possess AI). |
| PlacedInWorld | Only possess by an AI Controller if Pawn is placed in the world. |
| Spawned | Only possess by an AI Controller if Pawn is spawned after the world has loaded. |
| PlacedInWorldOrSpawned | Pawn is automatically possessed by an AI Controller whenever it is created. |