<?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%3ATargeting_Functions</id>
	<title>Category:Targeting 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%3ATargeting_Functions"/>
	<link rel="alternate" type="text/html" href="https://wiki.prime-wow.com/index.php?title=Category:Targeting_Functions&amp;action=history"/>
	<updated>2026-06-07T09:18:15Z</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:Targeting_Functions&amp;diff=7491&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:Targeting_Functions&amp;diff=7491&amp;oldid=prev"/>
		<updated>2017-10-23T23:23:30Z</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;=Targeting Function Category=&lt;br /&gt;
&lt;br /&gt;
Functions that deal with targeting.&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;
[[FindSingleRangedTarget | FindSingleRangedTarget ]]&lt;br /&gt;
| Seeks out an enemy more than 3m away&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
[[GetAttackTarget | GetAttackTarget ]]&lt;br /&gt;
| Determines the current foe under attack by the specified creature.&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
[[GetAttemptedAttackTarget | GetAttemptedAttackTarget ]]&lt;br /&gt;
| Determines the last creature that an attempted attack was made on.&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
[[GetAttemptedSpellTarget | GetAttemptedSpellTarget ]]&lt;br /&gt;
| Determines the creature a spell was attempted to be cast at.&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
[[GetChangeInX | GetChangeInX ]]&lt;br /&gt;
| Convenience function to calculate the change in the X axis&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;
[[GetFacingFromLocation | GetFacingFromLocation ]]&lt;br /&gt;
| Get the facing value from a location variable.&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
[[GetFactionBestAC | GetFactionBestAC ]]&lt;br /&gt;
| Get the member of a faction (party) who has the highest Armor Class.&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
[[GetFactionLeastDamagedMember | GetFactionLeastDamagedMember ]]&lt;br /&gt;
| Get the member of oFactionMember&amp;#039;s faction that has taken the fewest hit points of damage.&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;
[[GetFactionWorstAC | GetFactionWorstAC ]]&lt;br /&gt;
| Get the object faction member with the lowest armor class.&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;
[[GetLocation | GetLocation ]]&lt;br /&gt;
| Gets the location of an object.&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;
[[GetNearestSeenOrHeardEnemy | GetNearestSeenOrHeardEnemy ]]&lt;br /&gt;
| Determines closest visual creature and determines the closest heard creature.&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
[[LineOfSightObject | LineOfSightObject ]]&lt;br /&gt;
| Is there a line of sight between two objects&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
[[LineOfSightVector | LineOfSightVector ]]&lt;br /&gt;
| Returns whether there&amp;#039;s a direct line between two positions&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;
[[ShoutDisturbed | ShoutDisturbed ]]&lt;br /&gt;
| Turns NPCs of the container&amp;#039;s faction hostile towards the PC that destroyed or opened the container.&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
[[VersusRacialTypeEffect | VersusRacialTypeEffect ]]&lt;br /&gt;
| Set eEffect to be versus nRacialType.&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>