Jump to content

Change NPC Outfit through vanilla quest stage check.


Recommended Posts

Hello beauties! haha
So, I've been trying to make Brill and Vignar switch their outfits after the CWAttackCity quest through getstage. But each time I try to compile it gives me this error message:

Starting 1 compile threads for 1 files...
Compiling "CW_VignarClothes"...
C:\Program Files (x86)\Steam\steamapps\common\Skyrim Special Edition\Data\Source\Scripts\temp\CW_VignarClothes.psc(18,18): GetStage is not a property on script quest or one of its parents
C:\Program Files (x86)\Steam\steamapps\common\Skyrim Special Edition\Data\Source\Scripts\temp\CW_VignarClothes.psc(18,27): cannot compare a none to a int (cast missing or types unrelated)
C:\Program Files (x86)\Steam\steamapps\common\Skyrim Special Edition\Data\Source\Scripts\temp\CW_VignarClothes.psc(18,27): cannot relatively compare variables to None

No output generated for CW_VignarClothes, compilation failed.

 

I've also tried sneaking some codes into vanilla's QF_C00SwapVignarAndBrillOnAsc_000FF235 script. The resulting modified script looks like this:

 

 

;BEGIN FRAGMENT CODE - Do not edit anything between this and the end comment
;NEXT FRAGMENT INDEX 2
Scriptname QF_C00SwapVignarAndBrillOnAsc_000FF235 Extends Quest Hidden
 
;BEGIN ALIAS PROPERTY Vignar
;ALIAS PROPERTY TYPE ReferenceAlias
ReferenceAlias Property Alias_Vignar Auto
;END ALIAS PROPERTY
 
;BEGIN ALIAS PROPERTY Brill
;ALIAS PROPERTY TYPE ReferenceAlias
ReferenceAlias Property Alias_Brill Auto
;END ALIAS PROPERTY
 
;BEGIN FRAGMENT Fragment_0
Function Fragment_0()
;BEGIN CODE
; Debug.Trace("CW C00: Swapping Vignar and Brill's crime factions on their promotion to government.")
Alias_Vignar.GetActorReference().RemoveFromFaction(CompanionsFaction)
Alias_Vignar.GetActorReference().AddToFaction(CrimeFactionWhiterun)
Alias_Vignar.GetActorReference().SetCrimeFaction(CrimeFactionWhiterun)
Alias_Brill.GetActorReference().RemoveFromFaction(CompanionsFaction)
Alias_Brill.GetActorReference().AddToFaction(CrimeFactionWhiterun)
Alias_Brill.GetActorReference().SetCrimeFaction(CrimeFactionWhiterun)
Alias_Vignar.GetActorReference().SetOutfit(VignarJarlOutfit)
Alias_Brill.GetActorReference().SetOutfit(BrillStewardOutfit)
Stop()
;END CODE
EndFunction
;END FRAGMENT
 
;END FRAGMENT CODE - Do not edit anything between this and the begin comment
 
Faction Property CompanionsFaction  Auto  
 
Faction Property CrimeFactionWhiterun  Auto  
 
Outfit Property VignarJarlOutfit  Auto  
 
Outfit Property BrillStewardOutfit  Auto  
Link to comment
Share on other sites

The referred QF seems to be used by CompanionsSwapCrimeFactionsNode which I am uncertain if it is use or working in the game (lots of cut content all over the place)

Thing is, no matter what I try I'm not able to accomplish my objective due to the funky ways Beths system works. I am in serious need of help here because everything I've tried so far doesn't work, I've even found an old topic discussing this subject pertaining user created quests, which is the one giving me errors...

Halp?

Edited by Guest
Link to comment
Share on other sites

  • Recently Browsing   0 members

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