dizietemblesssma Posted March 30, 2021 Share Posted March 30, 2021 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 EndIfinto 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 EndIfmy 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 More sharing options...
IsharaMeradin Posted March 30, 2021 Share Posted March 30, 2021 Scrolls and shouts that I can see. Not sure if they are lumped in with spells or not. However, I doubt that they would be. Link to comment Share on other sites More sharing options...
dizietemblesssma Posted March 30, 2021 Author Share Posted March 30, 2021 Ah, thankyou diziet Link to comment Share on other sites More sharing options...
dizietemblesssma Posted March 31, 2021 Author Share Posted March 31, 2021 Well the script compiles with:&& !Items As Scroll && !Items As Shoutso you must be right about not being in with spells. Thanks for pointing out what I forgot! :) diziet Link to comment Share on other sites More sharing options...
Recommended Posts