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.
 
 
 

35 lines
797 B

Scriptname _00E_MQP03_AkropolisSetStageOnLea extends ObjectReference
{Sets the stage when leaving the box}
Event OnTriggerLeave(ObjectReference akActionRef)
if !Done && MQP03.IsRunning()
Done = True
MQP03.SetCurrentStageID(15)
if SKSE.GetVersion()
RegisterForKey(Input.GetMappedKey("Shout"))
endif
Disable()
EndIf
EndEvent
Event OnKeyDown(Int KeyCode)
If KeyCode == Input.GetMappedKey("Shout") && Utility.IsInMenuMode() == False && UI.IsTextInputEnabled() == False
If Game.GetPlayer().GetParentCell() == Self.GetParentCell()
_00E_Class_OpenClassMenuSpell.Cast(Game.GetPlayer(), Game.GetPlayer())
EndIf
UnregisterForKey(Input.GetMappedKey("Shout"))
EndIf
EndEvent
bool Done
Spell Property _00E_Class_OpenClassMenuSpell Auto
Quest Property MQP03 Auto