|
|
@ -345,7 +345,16 @@ Endfunction |
|
|
|
|
|
|
|
|
|
|
|
Function _ReapplySkins() |
|
|
|
Function _ReapplySkins() |
|
|
|
|
|
|
|
|
|
|
|
Actor player = self.getActorReference() |
|
|
|
if ! SKSE.GetVersion() |
|
|
|
|
|
|
|
return |
|
|
|
|
|
|
|
endif |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Actor player = GetReference() as Actor |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
if player.IsOnMount() || player.IsSwimming() |
|
|
|
|
|
|
|
return |
|
|
|
|
|
|
|
endif |
|
|
|
|
|
|
|
|
|
|
|
ActorBase playerbase = player.GetActorBase() |
|
|
|
ActorBase playerbase = player.GetActorBase() |
|
|
|
|
|
|
|
|
|
|
|
if player.HasSpell(_00E_FS_Affinity_AbBrute) |
|
|
|
if player.HasSpell(_00E_FS_Affinity_AbBrute) |
|
|
@ -369,9 +378,15 @@ Function _ReapplySkins() |
|
|
|
EndFunction |
|
|
|
EndFunction |
|
|
|
|
|
|
|
|
|
|
|
Function _FixNotTransformedPlayerSkin() |
|
|
|
Function _FixNotTransformedPlayerSkin() |
|
|
|
Actor player = Game.GetPlayer() |
|
|
|
if ! SKSE.GetVersion() |
|
|
|
|
|
|
|
return |
|
|
|
|
|
|
|
endif |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Actor player = GetReference() as Actor |
|
|
|
|
|
|
|
if ! player.IsOnMount() && ! player.IsSwimming() |
|
|
|
player.getActorBase().SetSkin(player.GetRace().GetSkin()) |
|
|
|
player.getActorBase().SetSkin(player.GetRace().GetSkin()) |
|
|
|
player.QueueNiNodeUpdate() |
|
|
|
player.QueueNiNodeUpdate() |
|
|
|
|
|
|
|
endif |
|
|
|
EndFunction |
|
|
|
EndFunction |
|
|
|
|
|
|
|
|
|
|
|
Event OnLocationChange(Location akOldLoc, Location akNewLoc) |
|
|
|
Event OnLocationChange(Location akOldLoc, Location akNewLoc) |
|
|
@ -394,9 +409,7 @@ EndEvent |
|
|
|
Function OnPlayerLoadGame() |
|
|
|
Function OnPlayerLoadGame() |
|
|
|
WolfAttributes.renewNotPersistentStats() |
|
|
|
WolfAttributes.renewNotPersistentStats() |
|
|
|
UpdateChymikumsLoadGame() |
|
|
|
UpdateChymikumsLoadGame() |
|
|
|
If Game.GetPlayer().IsOnMount() == false |
|
|
|
|
|
|
|
_FixNotTransformedPlayerSkin() |
|
|
|
_FixNotTransformedPlayerSkin() |
|
|
|
EndIf |
|
|
|
|
|
|
|
Endfunction |
|
|
|
Endfunction |
|
|
|
|
|
|
|
|
|
|
|
State Transfomed |
|
|
|
State Transfomed |
|
|
|