Skip to content

Commit

Permalink
Set NINode scales OnLoad as well as OnUpkeep.
Browse files Browse the repository at this point in the history
  • Loading branch information
Verteiron committed Jul 9, 2014
1 parent 2efd34c commit 7fc7cda
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions dist/Data/scripts/Source/vMYC_CharacterDummyActorScript.psc
Original file line number Diff line number Diff line change
Expand Up @@ -102,6 +102,7 @@ Event OnLoad()
;Debug.Trace("MYC: (" + CharacterName + "/Actor) OnLoad!")
SetNameIfNeeded()
CheckVars()
SetNINodes()
;DumpNIOData(CharacterName + "_OnLoad_" + GetCurrentRealTime())
If _bFirstLoad
If _iCharGenVersion == 3
Expand Down Expand Up @@ -449,7 +450,7 @@ Function SetNonpersistent()
If !kVoiceType
kVoiceType = CharacterManager.GetCharacterForm(CharacterName,"VoiceType") as VoiceType
EndIf

SetNINodes()
If kVoiceType
_kActorBase.SetVoiceType(kVoiceType)
Else ; No voicetype is saved, so set the default voicetype as the local voicetype
Expand Down Expand Up @@ -595,7 +596,6 @@ Function RefreshMeshNewCG()
; QueueNiNodeUpdate()
_kActorBase.SetInvulnerable(False)
;vMYC_CharGenLoading.Mod(-1)
SetNINodes()
SendModEvent("vMYC_CharacterReady",CharacterName)
GotoState("")
EndFunction
Expand Down

0 comments on commit 7fc7cda

Please sign in to comment.