ActionEquipMostEffectiveArmor()

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

void ActionEquipMostEffectiveArmor();

Description

The calling creature will equip the armor in its possession that has the highest armor class. Remember, in combat, a creature cannot change its armor.



Remarks

As with all ActionEquip* functions, it is not necessary to first unequip the current item in the same inventory slot before equipping the new item.

Also note that Clothing, with 0 AC, will, for some reason, not be equipped. Only padded armor or better (even with AC bonuses/decreases) will get equipped.


Version

1.22

See Also

functions: ActionEquipMostDamagingMelee | ActionEquipMostDamagingRanged
categories: Action on Object Functions | Combat Actions Functions | Inventory Functions


 author: Troels Therkelsen, editor: Jasperre, additional contributor(s): Jasperre
 Send comments on this topic.