Category:Combat Actions Functions

From NWN Lexicon
Jump to: navigation, search

Combat Actions Function Category

Combat action related functions.



Functions

Name Brief Description

ActionAttack

Initiates an attack between two creatures or a creature and an object.

ActionCounterSpell

Causes the caller to enter the counterspell modal combat mode.

ActionEquipMostDamagingMelee

Causes the calling creature to equip its most damaging weapon.

ActionEquipMostDamagingRanged

Causes the calling creature to equip the most damaging ranged weapon in its inventory.

ActionEquipMostEffectiveArmor

Causes the calling creature to equip the best armor in its inventory.

ClearAllActions

Clears currently queued actions from the calling object.

ClearAssociateActions

Clear the actions of one of each type of the PC's associates

ClearNearbyFriendActions

Clears the actions of a creature and all nearby friends

DimensionHop

Teleports instantly a character from one point to another creature.

DoWhirlwindAttack

Perform a whirlwind attack.

EffectModifyAttacks

Create a Modify Attacks effect that adds attacks to the target.

EscapeViaTeleport

Makes a creature teleport away while looking like they are casting a spell.

JumpToWeakestEnemy

Makes the caller jump to the most damaged enemy.

SpecialTactics

Checks for the special tactics flags and chooses tactics appropriately for each.

SpecialTacticsAmbusher

Special tactics for ambushers.

SpecialTacticsCowardly

Special tactics for cowardly creatures.

SpecialTacticsDefensive

Special tactics for defensive fighters.

SpecialTacticsRanged

Special tactics for ranged fighters.

SurrenderAllToEnemies

Causes all NPCs in the same faction as the given character to surrender.

SurrenderToEnemies

Causes all creatures in a 10 meter (1 tile) radius to stop actions, improves the creature's reputation with nearby enemies for 3 minutes. Only works for NPCs.

TalentAdvancedBuff

Causes the NPC/Creature to buff themselves using a priority aligned list of spells if they have them.

TalentAdvancedProtectSelf

AI quickly scans nearby enemies and determines the most beneficial protective talents to use on itself against the type of enemies it faces.

TalentDragonCombat

Determines the talent a dragon chooses during combat.

TalentFlee

Make the calling object flee from another object.

TalentMeleeAttack

Determines course of action while in melee combat for all NPCs.

TalentMeleeAttacked

Determines best course of action for NPC spell-caster when in melee combat.

TouchAttackMelee

Performs a touch melee attack out of turn.

TouchAttackRanged

Executes and determines the results of a ranged touch attack.