parent
59698590b4
commit
7a86fcfb42
18 changed files with 56 additions and 41 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.
Binary file not shown.
Binary file not shown.
@ -0,0 +1,35 @@ |
|||||||
|
Scriptname _00E_KillMove Hidden |
||||||
|
|
||||||
|
int Function Off() Global |
||||||
|
|
||||||
|
GlobalVariable KillMove = Game.GetForm(0x100F19) as GlobalVariable |
||||||
|
int iPrevValue = KillMove.GetValue() as int |
||||||
|
|
||||||
|
KillMove.SetValue(0 as float) |
||||||
|
Utility.SetINIBool("bVATSDisable:VATS", true) |
||||||
|
|
||||||
|
return iPrevValue |
||||||
|
|
||||||
|
EndFunction |
||||||
|
|
||||||
|
int Function On() Global |
||||||
|
|
||||||
|
GlobalVariable KillMove = Game.GetForm(0x100F19) as GlobalVariable |
||||||
|
int iPrevValue = KillMove.GetValue() as int |
||||||
|
|
||||||
|
KillMove.SetValue(1 as float) |
||||||
|
Utility.SetINIBool("bVATSDisable:VATS", false) |
||||||
|
|
||||||
|
return iPrevValue |
||||||
|
|
||||||
|
EndFunction |
||||||
|
|
||||||
|
int function SetValue(bool bValue) Global |
||||||
|
|
||||||
|
if bValue |
||||||
|
return On() |
||||||
|
else |
||||||
|
return Off() |
||||||
|
endif |
||||||
|
|
||||||
|
endfunction |
Loading…
Reference in new issue