parent
bdd260473e
commit
6c5ab0e966
5 changed files with 34 additions and 21 deletions
Binary file not shown.
Binary file not shown.
Binary file not shown.
@ -0,0 +1,34 @@ |
|||||||
|
Scriptname _00E_SyncKillMoveAlias extends ReferenceAlias |
||||||
|
|
||||||
|
GlobalVariable Property KillMove Auto |
||||||
|
|
||||||
|
Event OnInit() |
||||||
|
|
||||||
|
; it seems like that this ini setting does not do stuff by itself (or it is bugged) |
||||||
|
; therefore we need to read it from the file and change the global with which the killmoves are conditioned |
||||||
|
|
||||||
|
if SKSE.GetVersion() == 0 |
||||||
|
return |
||||||
|
endif |
||||||
|
|
||||||
|
If Utility.GetINIBool("bVATSDisable:VATS") |
||||||
|
KillMove.SetValue(0.0) |
||||||
|
Else |
||||||
|
KillMove.SetValue(1.0) |
||||||
|
EndIf |
||||||
|
|
||||||
|
EndEvent |
||||||
|
|
||||||
|
Event OnPlayerLoadGame() |
||||||
|
|
||||||
|
if SKSE.GetVersion() == 0 |
||||||
|
return |
||||||
|
endif |
||||||
|
|
||||||
|
If Utility.GetINIBool("bVATSDisable:VATS") |
||||||
|
KillMove.SetValue(0.0) |
||||||
|
Else |
||||||
|
KillMove.SetValue(1.0) |
||||||
|
EndIf |
||||||
|
|
||||||
|
EndEvent |
Loading…
Reference in new issue