Jump to content

Recommended Posts

Posted (edited)

EDIT: I got it working. My SPID was wrong for having the full hexi. This worked:

; Outfit Change for Seasons of Skyrim

Spell = 0x182A~MDCWinterOutfits.esp|Beitild,Karita,HousecarlWhiterun,Ysolda|NONE|NONE|NONE|NONE|100

Might help someone else having the problem.

Thanks anyway.

_______________________

Hi, guys.

I'm trying to make a mod that uses a spell distributed by SPID to get NPCs to change into Winter clothes to go with the environments in Seasons of Skyrim.

SPID:

; Outfit Change for Seasons of Skyrim

Spell = 0x0100182A~MDCWinterOutfits.esp|Beitild

Spell = 0x0100182A~MDCWinterOutfits.esp|Karita

Spell = 0x0100182A~MDCWinterOutfits.esp|HousecarlWhiterun

Spell = 0x0100182A~MDCWinterOutfits.esp|Ysolda

Script:

scriptName MDCOutfitScript01 extends ActiveMagicEffect

;-- Properties --------------------------------------

outfit property SummerOutfit auto

outfit property WinterOutfit auto

;-- Variables ---------------------------------------

;-- Functions ---------------------------------------

; Skipped compiler generated GotoState

; Skipped compiler generated GetState

function OnEffectStart(Actor akTarget, Actor akCaster)

debug.Notification("Seasonal outfit script triggered on actor with formID: " + akTarget.GetFormID() as String) Int currentSeason = seasonsofskyrim.GetCurrentSeason() if currentSeason == 1 akTarget.SetOutfit(WinterOutfit, true) debug.Notification("Applying Winter Outfit") else akTarget.SetOutfit(SummerOutfit, true) debug.Notification("Applying Summer Outfit") endIf

endFunction

________________________________________________________________

Can anyone tell me what I'm doing wrong?

Thanks.
 

Edited by MurderClan
Found a solution.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

By using this site, you agree to our Guidelines, Privacy Policy, and Terms of Use.