parent
17c5455c73
commit
34cbe312d6
14 changed files with 33 additions and 34 deletions
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@ -0,0 +1,22 @@ |
||||
Scriptname _00E_CameraControl Hidden |
||||
|
||||
Function LockVanityCamera() Global |
||||
|
||||
float fCameraMaxDistance = Utility.GetIniFloat("fVanityModeMaxDist:Camera") |
||||
(Game.GetForm(0x14) as Actor).SetActorValue("Variable08", fCameraMaxDistance) |
||||
Utility.SetINIFloat("fVanityModeMaxDist:Camera", Utility.GetIniFloat("fVanityModeMinDist:Camera")) |
||||
|
||||
EndFunction |
||||
|
||||
Function UnlockVanityCamera() Global |
||||
|
||||
float fCameraMaxDistance = (Game.GetForm(0x14) as Actor).GetActorValue("Variable08") |
||||
|
||||
if fCameraMaxDistance <= 0 |
||||
fCameraMaxDistance = 600 |
||||
endif |
||||
|
||||
Utility.SetINIFloat("fVanityModeMaxDist:Camera", fCameraMaxDistance) |
||||
(Game.GetForm(0x14) as Actor).SetActorValue("Variable08", 0) |
||||
|
||||
EndFunction |
Loading…
Reference in new issue