Scripting unremovable items?

Post » Sat Nov 15, 2014 6:12 am

I know I could just make them quest items, but I'd rather not as the whole "quest items cannot be removed" message doesn't fit at all what I would be scripting.

Essentially, I'm going to be adding a weapon and a piece of armor, and equipping it. After 5 minutes, they'll be removed. I got all that down, it's easy.

But can I make it so they cannot be sold? Like bound weapons. How do bound weapons work? They're exactly that - you activate an item, and it adds and equips a specific item (changeable with properties), which is essentially a bound weapon. How is this done so you cannot sell or drop these items w/out them being quest aliases with the quest object checked?

EDIT: When you unequip bound weapons, do they disappear?

EDIT 2: Let me clarify. I'm trying to acheive what the bound weapons are like, but not controlled by a spell, and if you sheathe them they remain equipped.

EDIT 3: The stuff I'm not entirely sure how to do - I could probably do it within a script on the item, but not sure about like the unsellable/undroppable one:

- Unequip removes OnUnequip - remove
- Sheathing keeps equipped Nothing special needed, nothing at all. However, it's different than the bound weapon spells.
- Unsellable, undroppable ? How would I do this?
User avatar
Roddy
 
Posts: 3564
Joined: Fri Jun 15, 2007 11:50 pm

Return to V - Skyrim