Script To Unequip Items Based Upon Class Specialization

Post » Thu Jan 17, 2013 7:10 am

I'm trying to write a script that will restrict which armor & weapons a player can use depending on their class' specialization.

So far I have this:


scn ClassOverhaulScriptshort ArmorRemovalif player.GetClassSpecialization == 1 && player.GetArmorType == 0set ArmorRemoval to player.GetEquippedObject 2ArmorRemoval player.UnEquipMeendifend

The problem is is that this needs to work for any armor/weapon and I can't figure out how to do it without specifying the item. Any ideas?

- Ryan Paul Fialcowitz
User avatar
Verity Hurding
 
Posts: 3455
Joined: Sat Jul 22, 2006 1:29 pm

Return to IV - Oblivion