Skip to content

Commit

Permalink
Set player's RelationshipRank to 0 while in the Shrine to prevent wed…
Browse files Browse the repository at this point in the history
…ding bugs.
  • Loading branch information
Verteiron committed Sep 8, 2014
1 parent fa4b6a0 commit efdefb5
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion dist/Data/scripts/Source/vMYC_CharacterDummyActorScript.psc
Original file line number Diff line number Diff line change
Expand Up @@ -231,11 +231,19 @@ Event OnUpdate()
CharacterManager.PopulateInventory(CharacterName)
_bNeedInventory = False
EndIf
If CharacterManager.GetLocalInt(CharacterName,"IsSummoned") == 1
If bIsSummoned
If CharacterManager.GetLocalInt(CharacterName,"ArmorCheck") == 1
;ArmorCheck is set to "Always", check more frequently!
CheckArmor()
EndIf
If GetRelationshipRank(PlayerREF) == 0
SetFactions()
EndIf
Else
;Set relationshiprank to 0 while in the Shrine, so giant disabled NPCs don't show at your wedding
If GetRelationshipRank(PlayerREF) > 0
SetRelationshipRank(PlayerREF,0)
EndIf
EndIf

If _bNeedPerks || _bNeedShouts || _bNeedSpells || _bNeedInventory
Expand Down

0 comments on commit efdefb5

Please sign in to comment.