Nikolai01976 Posted July 5, 2008 Share Posted July 5, 2008 Hello together,I am fairly new to this modding and not good at all at scripting.I am working on Bound Armor Mod. Everything worked fine so far. One thing bugged me though, after the spell is done i am standing nakedin the woods... hmmthought i could add an item at scripteffectfinishthen do a script for the added item wich says Begin OnAdd Playerplayer.equipitem (editor ID)End Begin OnUnequip Playerplayer.removeitem (editor ID)End Problem is i cannot unequip the item! Is there a way to force an added item to equip and remove from inventroy when unequiped? Does anyone know a solution? Link to comment Share on other sites More sharing options...
QQuix Posted July 7, 2008 Share Posted July 7, 2008 Your OnAdd block probably is: Begin OnAdd Playerplayer.equipitem (editor ID) 1End That “1” is a NoUnequipFlag ! Remove it and you will be able to unequip it. Link to comment Share on other sites More sharing options...
jaysus Posted July 7, 2008 Share Posted July 7, 2008 maybe dropitem would work in this case too... begin onunequipplayer.dropitem blablaend Link to comment Share on other sites More sharing options...
Nikolai01976 Posted July 7, 2008 Author Share Posted July 7, 2008 Thank you, both suggestions worked just fine Good bye and thanks again Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.