Combat Function Category

Combat related functions



Functions

NameBrief Description
ActionCounterSpellCauses the caller to enter the counterspell modal combat mode.
ActionUseFeatCauses an NPC to use a feat on oTarget.
AssociateCheckChecks whether an object is an henchman or not.
BashDoorCheckUsed in DetermineCombatRound to keep a henchmen bashing doors
CheckEnemyGroupingOnTargetGets the number of enemies in a sphere shape around a target.
CheckFriendlyFireOnTargetGets how many friendly creatures are within a spherical range of a target object.
chooseTacticsDetermines class-specific tactics.
DetermineClassToUseLooks at the character classes of a NPC and determines which one to use in combat.
DetermineCombatRoundDetermines NPC actions during any given round.
EffectDamageReductionCreate a Damage Reduction effect.
EffectDamageResistanceReturns a new effect object that makes the target more resistant to certain types of damage.
EffectDamageShieldCreates a damage shield around the target that will damage sucessfull attackers.
EffectDeathCreate a Death effect
GetAheadLocationThis function returns a location directly in front of the tartget
GetBehindLocationReturns location directly behind the target and facing same direction as the target
GetFlankingLeftLocationReturns a location on the left flank of the target
GetForwardFlankingLeftLocationReturns location to the forward left flank of the target
GetForwardFlankingRightLocationReturns location to the forward right flank of the target
GetGoingToBeAttackedByDetermines the creature that is going to attack another creature in the current combat round.
GetIsFightingDetermines whether a creature is "fighting".
GetLastHostileActorGets the last living, non plot creature that performed a hostile act against the object.
GetOppositeLocationReturns a location that is directly behind the target
JumpToWeakestEnemyMakes the caller jump to the most damaged enemy.
RestoreBaseAttackBonusRestores the number of base attacks back to it's original state
SearchForPlayerMakes a guard search for and attack the nearest PC.
SetBaseAttackBonusSets the number of base attacks for the specified creature
TalentRangedAttackersDetermines course of action for spell-casting NPC while being attacked by ranged foes.

See Also

Function Categories



 Send comments on this topic.