Skip to main content

NpcState

An NPC's AI state (NPC_STATE). See CAI_BaseNPC.State.

public enum NpcState : int

Namespace: DeadworksManaged.Api
Inherits / implements: int
Source: Enums/NpcState.cs#L4

Values​

NameValueDescription
Invalid-1
Init0Just spawned. The AI doesn't pick enemies yet.
Idle1No enemy. Setting it clears the enemy.
Alert2
Combat3
Script4
Dead5
Inert6Switched off. Pooled troopers wait in this state.
SynchronizedSecondary7