Fixed a Papyrus warning in _00E_MQP03_AkropolisSetStageOnLea
This commit is contained in:
parent
7162b88ada
commit
43931b07af
Binary file not shown.
@ -3,19 +3,22 @@ Scriptname _00E_MQP03_AkropolisSetStageOnLea extends ObjectReference
|
|||||||
|
|
||||||
Event OnTriggerLeave(ObjectReference akActionRef)
|
Event OnTriggerLeave(ObjectReference akActionRef)
|
||||||
|
|
||||||
if !Done && (MQP03.IsRunning())
|
if !Done && MQP03.IsRunning()
|
||||||
Done = True
|
Done = True
|
||||||
MQP03.SetCurrentStageID(15)
|
MQP03.SetCurrentStageID(15)
|
||||||
iMappedKeyCode = Input.GetMappedKey("Shout")
|
|
||||||
RegisterForKey(iMappedKeyCode)
|
if SKSE.GetVersion()
|
||||||
Self.Disable()
|
RegisterForKey(Input.GetMappedKey("Shout"))
|
||||||
|
endif
|
||||||
|
|
||||||
|
Disable()
|
||||||
EndIf
|
EndIf
|
||||||
|
|
||||||
EndEvent
|
EndEvent
|
||||||
|
|
||||||
Event OnKeyDown(Int KeyCode)
|
Event OnKeyDown(Int KeyCode)
|
||||||
|
|
||||||
If KeyCode == (iMappedKeyCode) && Utility.IsInMenuMode() == False && UI.IsTextInputEnabled() == False
|
If KeyCode == Input.GetMappedKey("Shout") && Utility.IsInMenuMode() == False && UI.IsTextInputEnabled() == False
|
||||||
|
|
||||||
If Game.GetPlayer().GetParentCell() == Self.GetParentCell()
|
If Game.GetPlayer().GetParentCell() == Self.GetParentCell()
|
||||||
_00E_Class_OpenClassMenuSpell.Cast(Game.GetPlayer(), Game.GetPlayer())
|
_00E_Class_OpenClassMenuSpell.Cast(Game.GetPlayer(), Game.GetPlayer())
|
||||||
@ -28,7 +31,5 @@ EndEvent
|
|||||||
|
|
||||||
bool Done
|
bool Done
|
||||||
|
|
||||||
int iMappedKeyCode
|
|
||||||
|
|
||||||
Spell Property _00E_Class_OpenClassMenuSpell Auto
|
Spell Property _00E_Class_OpenClassMenuSpell Auto
|
||||||
Quest Property MQP03 Auto
|
Quest Property MQP03 Auto
|
Loading…
Reference in New Issue
Block a user