1
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.
 
 
 

23 lines
675 B

Scriptname _00E_MQ11c_RyneusExitHeadacheSC extends ObjectReference
Event OnTriggerEnter(ObjectReference akActionRef)
if akActionRef == PlayerREF
if _00E_MQ11c_Headache.GetValueInt() == 1
; Debug.Notification("Timescale reset to normal")
PlayerREF.RemoveSpell(_00E_NoTeleportSpell)
Timescale.SetValue(_00E_TimescaleDefault.GetValue())
_00E_MQ11c_Headache.SetValue(0)
Else
Return
EndIf
EndIf
EndEvent
GlobalVariable Property _00E_MQ11c_Headache Auto
GlobalVariable Property GameHour Auto
GlobalVariable Property Timescale Auto
GlobalVariable Property _00E_TimescaleDefault Auto
Actor Property PlayerREF Auto
Spell Property _00E_NoTeleportSpell Auto