Jump to content

Types of equippable items


Recommended Posts

For reasons I have need to turn the following:

If Items[i] As Armor    ;if stored items are armour

   the_npc.EquipItemEx(Items[i],0,True,True)         ;re-equip them

  EndIf

into something like:

If !Items[i] As Weapon && !Items[i] As Spell && !Items[i] As Light && !Items[i] As Ammo ;if stored items are not weapons,spells,ammo or lights

   the_npc.EquipItemEx(Items[i],0,True,True)         ;re-equip them

  EndIf

my question is, does weapon, spell, ammo,light cover everything else apart from armor that can be equipped, or is there another type Ihaven't listed?

 

diziet

Link to comment
Share on other sites

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...