Jump to content

How to Give Follower Custom Inventory or Wardrobe Functions?


thek8ikat

Recommended Posts

Posted

Hello, all. I am currently making my own custom-voiced Marie Rose follower and was hoping to give her a custom inventory and/or wardrobe functions.
By custom inventory, I mean like the one M'rissi from M'rissi a Tail of Troubles has, as well as some of Anna's NPCs I think. With those, you can access both their inventory and their "backpack". If this could be like a magic container, like the one in AddItemMenu, that is in an inventory within an inventory, that would be great, too. So you access it, then take out what you want, and add to the real inventory.
By wardrobe functions, I mean like the ones JackGa's Momiji follower has, where you talk to her and ask her to wear a certain outfit.

https://youtu.be/k07Q47ohUGY

I am not good with scripting and am still new to the Creation Kit. Or, if there are any mods that offer resources for this, that would be even better. I appreciate any and all help. (^_^)

Posted

Through dialogue should be fiarly simple. If Skyrim is as similar to Fallout 4 as I know, using the "SetOutfit" function on your follower should do the trick:

Actor Property MyFollower Auto Const
Outfit Property NewOutfit Auto Const

Event OnEnd(ObjectReference akSpeaker, bool HasBeenSaid)

	MyFollower.SetOutfit(NewOutfit)

EndEvent

This works in Fallout 4, can't say 100% sure it works in Skyrim as well.

MyFollower should be filled with your follower and NewOutfit should be filled with the Outfit you want. This isn't a single piece of armor, but a small list the game has ready.

Posted
10 minutes ago, pepertje said:

Through dialogue should be fiarly simple. If Skyrim is as similar to Fallout 4 as I know, using the "SetOutfit" function on your follower should do the trick:


Actor Property MyFollower Auto Const
Outfit Property NewOutfit Auto Const

Event OnEnd(ObjectReference akSpeaker, bool HasBeenSaid)

	MyFollower.SetOutfit(NewOutfit)

EndEvent

This works in Fallout 4, can't say 100% sure it works in Skyrim as well.

MyFollower should be filled with your follower and NewOutfit should be filled with the Outfit you want. This isn't a single piece of armor, but a small list the game has ready.

I appreciate your input. Hmm. Are those commands or scripts or...? O.O And are you talking about in the Creation Kit or in-game?

Posted
1 minute ago, TheK8iKat said:

I appreciate your input. Hmm. Are those commands or scripts or...? O.O And are you talking about in the Creation Kit or in-game?

Those are functions for in Creation Kit.

Posted
2 minutes ago, TheK8iKat said:

So I would put those in Papyrus lines, right?

Yes. This script should theoretically work with a script extending a dialogue topic.

Posted
45 minutes ago, pepertje said:

Yes. This script should theoretically work with a script extending a dialogue topic.

Can you give me an example of a script extending a dialogue topic? I've tried entering in your suggestions, and the CK keeps saying it fails to batch the scripts. I tried straight up copying and pasting, then replacing certain keywords... Sorry. How would you suggest I do it? And which part goes where?

Archived

This topic is now archived and is closed to further replies.

  • Recently Browsing   0 members

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