|
|
|
@ -98,7 +98,7 @@ Function VisionEffectTimestopStop(bool bMovementHasBeenLocked = False) |
|
|
|
|
|
|
|
|
|
EndFunction |
|
|
|
|
|
|
|
|
|
Function VisionEffectNoTimestop(Formlist RefsInvolved, Formlist ActorsToFreeze, bool bCustomMusic = False) |
|
|
|
|
Function VisionEffectNoTimestop(Formlist RefsInvolved, Formlist ActorsToFreeze = None, bool bCustomMusic = False) |
|
|
|
|
|
|
|
|
|
Game.ShowFirstPersonGeometry(False) |
|
|
|
|
PlayerREF.SetAlpha(0.1) |
|
|
|
@ -122,16 +122,16 @@ Function VisionEffectNoTimestop(Formlist RefsInvolved, Formlist ActorsToFreeze, |
|
|
|
|
EndIf |
|
|
|
|
|
|
|
|
|
if RefsInvolved != None |
|
|
|
|
int iIndex = RefsInvolved.GetSize() |
|
|
|
|
|
|
|
|
|
while iIndex > 0 |
|
|
|
|
iIndex -= 1 |
|
|
|
|
Actor VisionREF = RefsInvolved.GetAt(iIndex) as Actor |
|
|
|
|
Int iIndex = 0 |
|
|
|
|
Form[] actors = RefsInvolved.ToArray() |
|
|
|
|
While iIndex < actors.Length |
|
|
|
|
Actor VisionREF = actors[iIndex] as Actor |
|
|
|
|
if VisionREF.IsDisabled() |
|
|
|
|
VisionREF.EnableNoWait() |
|
|
|
|
EndIf |
|
|
|
|
VisionRef.SetAlpha(0.5) |
|
|
|
|
MS04MemoryFXBody01VFX.Play(VisionREF) |
|
|
|
|
iIndex += 1 |
|
|
|
|
EndWhile |
|
|
|
|
endif |
|
|
|
|
|
|
|
|
@ -150,7 +150,7 @@ Function VisionEffectNoTimestop(Formlist RefsInvolved, Formlist ActorsToFreeze, |
|
|
|
|
|
|
|
|
|
EndFunction |
|
|
|
|
|
|
|
|
|
Function VisionEffectNoTimestopStop(Formlist RefsInvolved, Formlist ActorsToFreeze, bool bHasBeenRestrained = False) |
|
|
|
|
Function VisionEffectNoTimestopStop(Formlist RefsInvolved, Formlist ActorsToFreeze = None, bool bHasBeenRestrained = False) |
|
|
|
|
|
|
|
|
|
PlayerREF.SetAlpha(1.0) |
|
|
|
|
Game.ShowFirstPersonGeometry(True) |
|
|
|
@ -169,14 +169,14 @@ Function VisionEffectNoTimestopStop(Formlist RefsInvolved, Formlist ActorsToFree |
|
|
|
|
EndIf |
|
|
|
|
|
|
|
|
|
if RefsInvolved != None |
|
|
|
|
int iIndex = RefsInvolved.GetSize() |
|
|
|
|
|
|
|
|
|
while iIndex > 0 |
|
|
|
|
iIndex -= 1 |
|
|
|
|
Actor VisionREF = RefsInvolved.GetAt(iIndex) as Actor |
|
|
|
|
Int iIndex = 0 |
|
|
|
|
Form[] actors = RefsInvolved.ToArray() |
|
|
|
|
While iIndex < actors.Length |
|
|
|
|
Actor VisionREF = actors[iIndex] as Actor |
|
|
|
|
MS04MemoryFXBody01VFX.Stop(VisionREF) |
|
|
|
|
VisionRef.SetAlpha(1) |
|
|
|
|
EndWhile |
|
|
|
|
VisionRef.SetAlpha(1) |
|
|
|
|
iIndex += 1 |
|
|
|
|
EndWhile |
|
|
|
|
endif |
|
|
|
|
|
|
|
|
|
if ActorsToFreeze != None |
|
|
|
|