<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://wiki.prime-wow.com/index.php?action=history&amp;feed=atom&amp;title=Category%3ACore_AI_Functions</id>
	<title>Category:Core AI Functions - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.prime-wow.com/index.php?action=history&amp;feed=atom&amp;title=Category%3ACore_AI_Functions"/>
	<link rel="alternate" type="text/html" href="https://wiki.prime-wow.com/index.php?title=Category:Core_AI_Functions&amp;action=history"/>
	<updated>2026-06-07T07:45:31Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.43.0</generator>
	<entry>
		<id>https://wiki.prime-wow.com/index.php?title=Category:Core_AI_Functions&amp;diff=7269&amp;oldid=prev</id>
		<title>Xordac: 1 revision imported</title>
		<link rel="alternate" type="text/html" href="https://wiki.prime-wow.com/index.php?title=Category:Core_AI_Functions&amp;diff=7269&amp;oldid=prev"/>
		<updated>2017-10-23T23:23:16Z</updated>

		<summary type="html">&lt;p&gt;1 revision imported&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;=Core AI Function Category=&lt;br /&gt;
&lt;br /&gt;
Functions that deal with the core artificial intelligence engine&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br /&amp;gt;&amp;lt;br /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
====Functions====&lt;br /&gt;
&lt;br /&gt;
{| border=&amp;quot;1&amp;quot; cellpadding=&amp;quot;5&amp;quot;&lt;br /&gt;
! Name&lt;br /&gt;
! Brief Description&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
[[ActionCloseDoor | ActionCloseDoor ]]&lt;br /&gt;
| An action that causes an object to close a door.&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
[[ActionForceFollowObject | ActionForceFollowObject ]]&lt;br /&gt;
| Forces an NPC to follow an object.&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
[[ActionForceMoveToLocation | ActionForceMoveToLocation ]]&lt;br /&gt;
| Attempts to move an NPC to a location.&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
[[ActionForceMoveToObject | ActionForceMoveToObject ]]&lt;br /&gt;
| Attempts to move an NPC to a certain distance of a target object even if a clear path doesn&amp;#039;t exist.&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
[[ActionMoveAwayFromLocation | ActionMoveAwayFromLocation ]]&lt;br /&gt;
| Causes the caller to try to move away from a location&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
[[ActionMoveAwayFromObject | ActionMoveAwayFromObject ]]&lt;br /&gt;
| Cause the action subject to move to a certain distance away from a target.&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
[[ActionMoveToLocation | ActionMoveToLocation ]]&lt;br /&gt;
| Moves an NPC to a location before executing further actions in the action queue.&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
[[ActionMoveToObject | ActionMoveToObject ]]&lt;br /&gt;
| Cause action subject to move to a certain distance of a target object.&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
[[ActionRandomWalk | ActionRandomWalk ]]&lt;br /&gt;
| Causes the subject to walk to a random location close to itself.&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
[[ActivateFleeToExit | ActivateFleeToExit ]]&lt;br /&gt;
| Causes a creature to run to its exit waypoint and disappear.&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
[[AssociateCheck | AssociateCheck ]]&lt;br /&gt;
| Checks whether an object is an henchman or not.&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
[[BashDoorCheck | BashDoorCheck ]]&lt;br /&gt;
| Used in DetermineCombatRound to keep a henchmen bashing doors&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
[[CheckEnemyGroupingOnTarget | CheckEnemyGroupingOnTarget ]]&lt;br /&gt;
| Gets the number of enemies in a sphere shape around a target.&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
[[CheckFriendlyFireOnTarget | CheckFriendlyFireOnTarget ]]&lt;br /&gt;
| Gets how many friendly creatures are within a spherical range of a target object.&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
[[CheckWayPoints | CheckWayPoints ]]&lt;br /&gt;
| Checks to see if an NPC has a valid waypoint to walk to.&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
[[chooseTactics | chooseTactics ]]&lt;br /&gt;
| Determines class-specific tactics.&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
[[CompareLastSpellCast | CompareLastSpellCast ]]&lt;br /&gt;
| Determines if a spell is the same as the one previously cast by the creature.&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
[[DetermineAssociateCombatRound | DetermineAssociateCombatRound ]]&lt;br /&gt;
| This function cannot be used&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
[[DetermineCombatRound | DetermineCombatRound ]]&lt;br /&gt;
| Determines NPC actions during any given round.&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
[[DetermineSpecialBehavior | DetermineSpecialBehavior ]]&lt;br /&gt;
| Makes a creature use behave a special way overriding default behavior.&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
[[FindSingleRangedTarget | FindSingleRangedTarget ]]&lt;br /&gt;
| Seeks out an enemy more than 3m away&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
[[GetAILevel | GetAILevel ]]&lt;br /&gt;
| Retrieves the current AI (artificial intelligence) level that a creature is running at.&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
[[GetBehaviorState | GetBehaviorState ]]&lt;br /&gt;
| Test whether a creature is in a particular behavior state.&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
[[GetCreatureTalentBest | GetCreatureTalentBest ]]&lt;br /&gt;
| Determines the best talent of a creature from a group of talents.&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
[[GetDistanceBetween | GetDistanceBetween ]]&lt;br /&gt;
| The distance in meters between two objects&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
[[GetDistanceBetweenLocations | GetDistanceBetweenLocations ]]&lt;br /&gt;
| The distance in meters between two locations in the game.&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
[[GetDistanceToObject | GetDistanceToObject ]]&lt;br /&gt;
| The distance from the caller of the script to the object in meters.&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
[[GetFactionMostDamagedMember | GetFactionMostDamagedMember ]]&lt;br /&gt;
| Get the member of oFactionMember&amp;#039;s faction that has taken the most hit points of damage.&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
[[GetFleeToExit | GetFleeToExit ]]&lt;br /&gt;
| Returns TRUE if the executing object can use ActivateFleeToExit.&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
[[GetFollowDistance | GetFollowDistance ]]&lt;br /&gt;
| Determines the distance in meters that the associate should follow its &amp;#039;master&amp;#039; at.&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
[[GetGoingToBeAttackedBy | GetGoingToBeAttackedBy ]]&lt;br /&gt;
| Determines the creature that is going to attack another creature in the current combat round.&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
[[GetIsFighting | GetIsFighting ]]&lt;br /&gt;
| Determines whether a creature is &amp;quot;fighting&amp;quot;.&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
[[GetLastGenericSpellCast | GetLastGenericSpellCast ]]&lt;br /&gt;
| Retrieves the last spell that was cast by the calling creature.&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
[[GetLastHostileActor | GetLastHostileActor ]]&lt;br /&gt;
| Gets the last living, non plot creature that performed a hostile act against the object.&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
[[GetLastPCRested | GetLastPCRested ]]&lt;br /&gt;
| Returns the last PC that rested.&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
[[GetLastPerceptionInaudible | GetLastPerceptionInaudible ]]&lt;br /&gt;
| Gets the last perceived object which can no longer be heard.&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
[[GetListenPatternNumber | GetListenPatternNumber ]]&lt;br /&gt;
| Check if a conversation pattern has been activated in an OnConversation event.&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
[[GetMostDangerousClass | GetMostDangerousClass ]]&lt;br /&gt;
| Use the four archetypes to determine the most dangerous group type facing the NPC.&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
[[GetNPCWarningStatus | GetNPCWarningStatus ]]&lt;br /&gt;
| Determines a NPC&amp;#039;s state of mind toward another object.&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
[[GetRacialTypeCount | GetRacialTypeCount ]]&lt;br /&gt;
| Determines the number of creatures of a race within 20 meters.&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
[[GetSpawnInCondition | GetSpawnInCondition ]]&lt;br /&gt;
| Determines whether a creature has a certain condition set by BioWare&amp;#039;s core AI system.&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
[[PlayImmobileAmbientAnimations | PlayImmobileAmbientAnimations ]]&lt;br /&gt;
| Makes a creature act out some animations where they stand to look more lifelike.&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
[[PlayMobileAmbientAnimations | PlayMobileAmbientAnimations ]]&lt;br /&gt;
| Makes a creature act out some animations to look more lifelike.&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
[[Prefers | Prefers ]]&lt;br /&gt;
| Determines whether the adventurer prefers using a weapon type.&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
[[RemoveAmbientSleep | RemoveAmbientSleep ]]&lt;br /&gt;
| Removes a sleep effect on a successful listen check.&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
[[RespondToShout | RespondToShout ]]&lt;br /&gt;
| Sets NPC to respond to numerous alerts sent by PC or other NPCs.&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
[[RunNextCircuit | RunNextCircuit ]]&lt;br /&gt;
| Makes an NPC move to their initial waypoint.&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
[[SetAILevel | SetAILevel ]]&lt;br /&gt;
| Sets the AI (artificial intelligence) level of a creature.&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
[[SetAssociateStartLocation | SetAssociateStartLocation ]]&lt;br /&gt;
| Sets an NPC associate&amp;#039;s start location to it&amp;#039;s current location.&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
[[SetBehaviorState | SetBehaviorState ]]&lt;br /&gt;
| Sets an NPC&amp;#039;s behavior.&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
[[SetLastGenericSpellCast | SetLastGenericSpellCast ]]&lt;br /&gt;
| Sets a local variable that stores the spell ID of the last spell cast.&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
[[SetListening | SetListening ]]&lt;br /&gt;
| Sets whether an object should listen.&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
[[SetListeningPatterns | SetListeningPatterns ]]&lt;br /&gt;
| Prepares the listening patterns to allow for the AI to function properly.&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
[[SetListenPattern | SetListenPattern ]]&lt;br /&gt;
| Sets an object to listen to a particular pattern.&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
[[SetNPCWarningStatus | SetNPCWarningStatus ]]&lt;br /&gt;
| Stores the condition of an NPC warning status.&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
[[SetSpawnInCondition | SetSpawnInCondition ]]&lt;br /&gt;
| Sets custom flags that influence the default AI scripts provided by BioWare.&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
[[SetSummonEffect | SetSummonEffect ]]&lt;br /&gt;
| Specifies the visual special effect and specific creature to be summoned based on the spell cast.&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
[[SetSummonHelpIfAttacked | SetSummonHelpIfAttacked ]]&lt;br /&gt;
| Creates an encounter that is meant to help an attacked NPC.&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
[[SetWayPointTo1 | SetWayPointTo1 ]]&lt;br /&gt;
| Tells an NPC to return to their first waypoint.&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
[[TalentMeleeAttack | TalentMeleeAttack ]]&lt;br /&gt;
| Determines course of action while in melee combat for all NPCs.&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
[[TalentMeleeAttacked | TalentMeleeAttacked ]]&lt;br /&gt;
| Determines best course of action for NPC spell-caster when in melee combat.&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
[[TalentSeeInvisible | TalentSeeInvisible ]]&lt;br /&gt;
| Determines if the NPC has the ability to see invisible creatures through feat or spell.&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
[[VerifyCombatMeleeTalent | VerifyCombatMeleeTalent ]]&lt;br /&gt;
| Determines whether a combat talent could be used on an object.&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
[[VerifyDisarm | VerifyDisarm ]]&lt;br /&gt;
| Determines whether a creature could possibly be disarmed.&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
[[WalkWayPoints | WalkWayPoints ]]&lt;br /&gt;
| Make an NPC creature walk a series of preset waypoints.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
[[Category:Functions]]&lt;br /&gt;
[[Category:Function_Categories]]&lt;/div&gt;</summary>
		<author><name>Xordac</name></author>
	</entry>
</feed>