Jump to content

Auto equip armor piece or maybe swap


NukaMage

Recommended Posts

So I'd asking for some help real quick. How would I go about making the player auto equip a piece of armor right when they pick it up? I'm looking to do this for Pipboys. Any suggestions or help?

 

I guess this could be done by scripts but I can't write them due to lack of knowledge and time restraints to learn coding.

 

 

edit:

 

I found this old scripting method from Skyrim but I could use some help explaining it. The only thing I know to change is IronHookEquipScript as that will be the scripts name. Does anything else need to be changed?

 

Scriptname IronHookEquipScript extends ObjectReference

Actor Property PlayerREF Auto

Event OnContainerChanged(ObjectReference akNewContainer, ObjectReference akOldContainer)
If akNewContainer == PlayerREF
PlayerREF.EquipItem(Self, true, true)
EndIf
EndEvent

Edited by NukaMage
Link to comment
Share on other sites

  • Recently Browsing   0 members

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