Jump to content

Make armor unequipable


Recommended Posts

I was wondering if anyone could help me, with my problem. I am trying to make a piece of armor inescapable. Basically, once the player equips it, they are unable to unequip it. I am comfortable with CK, however, as far as Papyrus goes, I am a total newbie. Google was of no help. Is something like this even possible?


Any help would be much appreciated, thanks in advance.

Link to comment
Share on other sites

Try attaching this Papyrus script to your Armor:

 

 

Scriptname MyMod_PreventUnequipArmorScript extends ObjectReference

Bool ArmorEquipped

Event OnEquipped(Actor akActor)
	If ArmorEquipped == False
		ArmorEquipped = True
		ObjectReference SelfRef = Self as ObjectReference
		akActor.UnequipItem(SelfRef)
		akActor.EquipItem(SelfRef, abPreventRemoval = True)
	EndIf
EndEvent

 

 

Link to comment
Share on other sites

  • Recently Browsing   0 members

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