Morrowind Mod:GetAIPackageDone

The UESPWiki – Your source for The Elder Scrolls since 1995
Jump to: navigation, search

GetAIPackageDone

                GetAIPackageDone

        Type:   AI

     Returns:   short

     Example:   if ( GetAIPackageDone == 1 )

     Scripts:   dulniScript
                FaluraScript

Returns 1 for one frame when the NPC's AI package has completed (usually returns 0). Use this to determine when an NPC has arrived at their location when using the AITravel function.

See Also: AIEscort, AIFollow, AITravel, AIWander, GetCurrentAIPackage