21 lines
420 B
Plaintext
21 lines
420 B
Plaintext
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 |