Enderal SE https://mod.pub/enderal-se/38-enderal-se
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.
21 lines
420 B
21 lines
420 B
3 years ago
|
Scriptname _00E_DisableKillMovesSC extends ObjectReference
|
||
|
|
||
|
Event OnTriggerEnter(ObjectReference akActionRef)
|
||
|
|
||
|
if akActionRef == Game.GetPlayer()
|
||
|
KillMove.SetValueInt(0)
|
||
|
EndIf
|
||
|
|
||
|
EndEvent
|
||
|
|
||
|
Event OnTriggerLeave(ObjectReference akActionRef)
|
||
|
|
||
|
if akActionRef == Game.GetPlayer()
|
||
|
If Utility.GetINIBool("bVATSDisable:VATS") == 0
|
||
|
KillMove.SetValueInt(1)
|
||
|
EndIf
|
||
|
EndIf
|
||
|
|
||
|
EndEvent
|
||
|
|
||
|
GlobalVariable Property KillMove Auto
|