Abrir menu principal

UESPWiki β

Morrowind Mod:GetAIPackageDone

< Alphabetical Functions / Categorical Functions


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