Combat Information Function Category

Combat information related functions.



Functions

NameBrief Description
DetermineEnemiesReturns number of enemies perceived and their combined levels.
FindSingleRangedTargetSeeks out an enemy more than 3m away
GetACRetrieves the AC (armor class) of a creature.
GetAttackTargetDetermines the current foe under attack by the specified creature.
GetAttemptedAttackTargetDetermines the last creature that an attempted attack was made on.
GetAttemptedSpellTargetDetermines the creature a spell was attempted to be cast at.
GetCharacterLevelReturns the total levels a creature has in all three classes.
GetDefensiveCastingModeRetrieves the defensive casting mode status of a creature.
GetDistanceBetweenThe distance in meters between two objects
GetDistanceToObjectThe distance from the caller of the script to the object in meters.
GetFactionBestACGet the member of a faction (party) who has the highest Armor Class.
GetFactionLeastDamagedMemberGet the member of oFactionMember's faction that has taken the fewest hit points of damage.
GetFactionMostDamagedMemberGet the member of oFactionMember's faction that has taken the most hit points of damage.
GetFactionWeakestMemberGet the weakest member in a faction (party).
GetFactionWorstACGet the object faction member with the lowest armor class.
GetFlankingRightLocationReturns a location that is the right flank (to the right and slightly behind) the Target
GetIsCreatureDisarmableCheck if oCreature can be disarmed
GetIsInCombatDetermines whether a creature is in combat.
GetLastAttackerDetermine who last attacked a creature, door or placeable object.
GetLastAttackModeDetermine a creature's combat mode.
GetLastAttackTypeDetermine the attack type of a creature's last attack.
GetLastDamagerGet the object which last damaged a creature or placeable object.
GetLastKillerGet the object that killed the caller.
GetLastWeaponUsedGet the last weapon that oCreature used in an attack.
GetMostDangerousClassUse the four archetypes to determine the most dangerous group type facing the NPC.
GetTotalDamageDealtGet the total amount of damage that was last dealt to the caller.
SearchForPlayerMakes a guard search for and attack the nearest PC.

See Also

Function Categories