Open main menu

UESPWiki β

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