Jump to content

Unequip/equip PipBoy glove script


Recommended Posts

I am trying to make a script that unequips the PipBoy glove when the armor the script is attached to is equipped. I have managed a script that just unequips the glove but then it is permanently unequipped.

I have tried the following script with Form and EditorID both but I get `Item 25b83 not found´ and ´Error: SYNTAX´ respectively.

Quote

scn RemovePipBoyGloveScript

Begin OnEquip Player
    if player.GetItemCount [Form/EditID] > 0
        player.UnequipItem [Form/EditID]
    endif
End

Begin OnUnequip Player
    if (Player.GetItemCount [Form/EditID] > 0) && (!Player.IsEquipped [Form/EditID])
        Player.EquipItem [Form/EditID]

    endif
End

Grateful for any help!

Link to comment
Share on other sites

  • Recently Browsing   0 members

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