Tes3Mod:GetCurrentAIPackage
The UESPWiki – Your source for The Elder Scrolls since 1995
GetCurrentAIPackage
GetCurrentAIPackage
Type: AI
Returns: short (-1 to 5)
None = -1
Wander = 0
Travel = 1
Escort = 2
Follow = 3
Activate = 4
Pursue = 5
Example: if ( GetCurrentAIPackage == 3 )
set g_TempValue to "teruise girvayne"->GetCurrentAIPackage
Scripts: devalFollow
FaluraScript
Returns a short value based on the current AIPackage the NPC is performing.
See Also: AIEscort, AIFollow, AITravel, AIWander, GetAIPackageDone

![[Content is available under Attribution-ShareAlike]](http://www.uesp.net/w/images/Somerights.png)