Jump to content

Changing the character that the player controls


mrjimi16

Recommended Posts

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

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) native

Source: RemoveAllItems - ObjectReference link

Edited by David Brasher
Link to comment
Share on other sites

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

  • Recently Browsing   0 members

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