mrjimi16 Posted May 19, 2012 Share Posted May 19, 2012 So, I have had an idea for a mod that I would like to create and though I am quite green, I think I might try to churn it out myself. However, it hinges on being able to alter which character the player controls, ie a new character with a different inventory and different skill values and perks. At worst, for it to somewhat work, I would need to know if it were possible to switch the player's inventory with another, saving it so that at the end of the quest, the player would be able to have his/her inventory as it was in the beginning. I am not sure where to look for such a function/script/whatever and any help would be greatly appreciated. Link to comment Share on other sites More sharing options...
David Brasher Posted May 20, 2012 Share Posted May 20, 2012 (edited) Elder Scrolls games are not good for switching the character controlled by the gamer from party member to party member like Knights of the Old Republic or Dragon Age. I suppose you could edit stats on the fly and swap out inventories, but all your party members might have the same name, race, and face. I am not sure if there is a way around that. In Oblivion, if you wanted to take away an inventory and give it back, you would create a custom chest and use scripting to move all the player's items to that chest until the quest was over. An example of this was Sanguine's daedric artifact quest in Oblivion. In Skyrim, you should be able to use code sort of like this:Function RemoveAllItems(ObjectReference akTransferTo = None, bool abKeepOwnership = false, bool abRemoveQuestItems = false) nativeSource: RemoveAllItems - ObjectReference link Edited May 20, 2012 by David Brasher Link to comment Share on other sites More sharing options...
Stemin Posted May 20, 2012 Share Posted May 20, 2012 I'm no CK expert, but if I were going to try something like this, I'd either look at what happens during the Dawnstar quest where there's that flashback sequence, or the main quest where Delphine holds your inventory. I bet you could look at those scripted events and figure out something close to what you want to do. Link to comment Share on other sites More sharing options...
Recommended Posts