X0 i0 equip

From NWN Lexicon



[edit] x0_i0_equip

Library that handles equipping weapons functions.

NOTE: This file includes x0_i0_enemy .

[edit] Functions

Name Brief Description
bkEquipAppropriateWeapons Equip the appropriate weapons to face the target.
bkEquipMelee Equip melee weapon(s) and a shield.
bkEquipRanged

EquipAppropriateWeapons

Cause a creature to ready an appropriate weapon.
GetIsWeaponLarge Internal function. Returns TRUE if this is a large weapon. Simple test for the item weight being greater than 12 pounds.
IsOutOfAmmo Returns TRUE if out of ammo of currently equipped weapons.
StoreLastRanged Internal function. Stores the last ranged weapon used for when the henchmen switches from ranged to melee in XP1.
WiseToDualWield Checks to see if the user has ambidexterity and two weapon fighting.
WrapperActionAttack This is just a wrapper around ActionAttack to make sure the creature equips weapons.



  author: Mistress, contributor: Graewerld

Personal tools
Categories