Combat Function Category
Combat related functions
Functions
Name | Brief Description |
---|---|
ActionCounterSpell | Causes the caller to enter the counterspell modal combat mode. |
ActionUseFeat | Causes an NPC to use a feat on oTarget. |
AssociateCheck | Checks whether an object is an henchman or not. |
BashDoorCheck | Used in DetermineCombatRound to keep a henchmen bashing doors |
CheckEnemyGroupingOnTarget | Gets the number of enemies in a sphere shape around a target. |
CheckFriendlyFireOnTarget | Gets how many friendly creatures are within a spherical range of a target object. |
chooseTactics | Determines class-specific tactics. |
DetermineClassToUse | Looks at the character classes of a NPC and determines which one to use in combat. |
DetermineCombatRound | Determines NPC actions during any given round. |
EffectDamageReduction | Create a Damage Reduction effect. |
EffectDamageResistance | Returns a new effect object that makes the target more resistant to certain types of damage. |
EffectDamageShield | Creates a damage shield around the target that will damage sucessfull attackers. |
EffectDeath | Create a Death effect |
GetAheadLocation | This function returns a location directly in front of the tartget |
GetBehindLocation | Returns location directly behind the target and facing same direction as the target |
GetFlankingLeftLocation | Returns a location on the left flank of the target |
GetForwardFlankingLeftLocation | Returns location to the forward left flank of the target |
GetForwardFlankingRightLocation | Returns location to the forward right flank of the target |
GetGoingToBeAttackedBy | Determines the creature that is going to attack another creature in the current combat round. |
GetIsFighting | Determines whether a creature is "fighting". |
GetLastHostileActor | Gets the last living, non plot creature that performed a hostile act against the object. |
GetOppositeLocation | Returns a location that is directly behind the target |
JumpToWeakestEnemy | Makes the caller jump to the most damaged enemy. |
RestoreBaseAttackBonus | Restores the number of base attacks back to it's original state |
SearchForPlayer | Makes a guard search for and attack the nearest PC. |
SetBaseAttackBonus | Sets the number of base attacks for the specified creature |
TalentRangedAttackers | Determines course of action for spell-casting NPC while being attacked by ranged foes. |
See Also
Send comments on this topic.