Category:Targeting Functions
From NWN Lexicon
Jump to navigationJump to searchTargeting Function Category
Functions that deal with targeting.
Functions
Name | Brief Description |
---|---|
Seeks out an enemy more than 3m away | |
Determines the current foe under attack by the specified creature. | |
Determines the last creature that an attempted attack was made on. | |
Determines the creature a spell was attempted to be cast at. | |
Convenience function to calculate the change in the X axis | |
The distance in meters between two objects | |
The distance in meters between two locations in the game. | |
The distance from the caller of the script to the object in meters. | |
Get the facing value from a location variable. | |
Get the member of a faction (party) who has the highest Armor Class. | |
Get the member of oFactionMember's faction that has taken the fewest hit points of damage. | |
Get the member of oFactionMember's faction that has taken the most hit points of damage. | |
Get the object faction member with the lowest armor class. | |
Gets the last living, non plot creature that performed a hostile act against the object. | |
Gets the location of an object. | |
Use the four archetypes to determine the most dangerous group type facing the NPC. | |
Determines closest visual creature and determines the closest heard creature. | |
Is there a line of sight between two objects | |
Returns whether there's a direct line between two positions | |
Sets an NPC's behavior. | |
Turns NPCs of the container's faction hostile towards the PC that destroyed or opened the container. | |
Set eEffect to be versus nRacialType. |
Pages in category "Targeting Functions"
The following 22 pages are in this category, out of 22 total.
G
- GetAttackTarget
- GetAttemptedAttackTarget
- GetAttemptedSpellTarget
- GetChangeInX
- GetDistanceBetween
- GetDistanceBetweenLocations
- GetDistanceToObject
- GetFacingFromLocation
- GetFactionBestAC
- GetFactionLeastDamagedMember
- GetFactionMostDamagedMember
- GetFactionWorstAC
- GetLastHostileActor
- GetLocation
- GetMostDangerousClass
- GetNearestSeenOrHeardEnemy