agerweb Posted July 17, 2015 Share Posted July 17, 2015 I want to give a potential follower a sword that can not be removed by the player when trading. I am guessing put a script on the sword, but what script? Link to comment Share on other sites More sharing options...
Mattiewagg Posted July 18, 2015 Share Posted July 18, 2015 (edited) Scriptname mySwordScript Extends ObjectReference Actor Property myFollower Auto Event OnContainerChanged(ObjectReference akNewContainer, ObjectReference akOldContainer) If akOldContainer == myFollower; we can't leave the follower! akNewContainer.RemoveItem(Self.GetBaseObject(), 1, true, akOldContainer) Debug.Messagebox("Follower must keep this, moving back") EndIf EndEvent Or just marking the sword as unplayable (uncheck the Playable box) should work. If using script be sure to fill that property. http://skyrimmw.weebly.com/skyrim-modding/how-to-fill-properties-skyrim-modding-tutorial Edited July 18, 2015 by Mattiewagg Link to comment Share on other sites More sharing options...
mlee3141 Posted July 18, 2015 Share Posted July 18, 2015 Make it non-playable. Link to comment Share on other sites More sharing options...
agerweb Posted July 18, 2015 Author Share Posted July 18, 2015 So simple, why didn't I think of that! Thankyou. The script may also come in handy. Link to comment Share on other sites More sharing options...
Recommended Posts