Jump to content

Requesting Help: Lootable Pre-Outfitted Mannequins


Recommended Posts

I am working on an addition to the Soul Cairn house I have made, and want to have 3 mannequins that are already pre-equipped, but you can loot the outfits from them. This concept would be especially helpful for the end quest reward for this area. Here are my current results, since I gave the mannequin each of the items in the inventory and setup the outfit for them:

 

Looking at it: http://steamcommunity.com/sharedfiles/filedetails/?id=197588519

After using the mannequin to loot it: http://steamcommunity.com/sharedfiles/filedetails/?id=197588587

 

The items are not showing up in the mannequin inventory currently. Is there a different way I should be setting them up in order to allow this, or is this not possible under vanilla Skyrim?

Link to comment
Share on other sites

As an update I figured out a way to do this via scripts. I decided to test out with the Blades armor on a mannequin, and here is what I came up with for a custom script on the Mannequin trigger:

Scriptname AJDPROutfitMannequinScript extends ObjectReference  

GlobalVariable Property AJDPROutfitMannequinAccessCount  Auto  
Armor Property ArmorBladesBoots  Auto  
Armor Property ArmorBladesCuirass  Auto  
Armor Property ArmorBladesGauntlets  Auto  
Armor Property ArmorBladesHelmet  Auto  
Armor Property ArmorBladesShield  Auto  
Actor Property AJDPROutMann  Auto  
Outfit Property AJDPRNoOutfit  Auto  

Event OnActivate(ObjectReference akActionRef)
	int temp = 0
	temp = (AJDPROutfitMannequinAccessCount.GetValue() as int)
	;Checks to see if this is the first time accessed
	if (temp < 1)
		;Removes the current outfit
		AJDPROutMann.UnequipAll()
		AJDPROutMann.SetOutfit(AJDPRNoOutfit)
		;Gives the items from the mannequin
		Game.GetPlayer().AddItem(ArmorBladesBoots, 1)
		Game.GetPlayer().AddItem(ArmorBladesCuirass, 1)
		Game.GetPlayer().AddItem(ArmorBladesGauntlets, 1)
		Game.GetPlayer().AddItem(ArmorBladesHelmet, 1)
		Game.GetPlayer().AddItem(ArmorBladesShield, 1)
		;Ensures no item gifting
		AJDPROutfitMannequinAccessCount.SetValue(1)
	endif

EndEvent

This adds the items to the player, and removed the items from the mannequin. The menu still does not show it, but that is a minor non-issue at this point.

Link to comment
Share on other sites

  • Recently Browsing   0 members

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