4
Fork 0
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 

35 lines
651 B

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