Show the sneak tutorial once

This commit is contained in:
Eddoursul 2024-03-01 21:18:11 +01:00
parent 3df71a6bea
commit 5810ba6d44
2 changed files with 4 additions and 4 deletions

View File

@ -1,10 +1,10 @@
Scriptname _00E_ShowSneakHelpMessage extends ObjectReference Scriptname _00E_ShowSneakHelpMessage extends ObjectReference
Event OnTriggerEnter(ObjectReference akActionRef) Event OnTriggerEnter(ObjectReference akActionRef)
if (akActionRef== Game.GetPlayer()) && (DoOnce == False) && (_00E_DisableTutorial.GetValueInt() == 0) if _00E_DisableTutorial.GetValueInt() == 0 && akActionRef == Game.GetForm(0x14) && ! DoOnce
Helpmessage.ShowAsHelpMessage("Sneak", 4, 30, 4)
DoOnce = True DoOnce = True
Message.ResetHelpMessage("Empty")
Helpmessage.ShowAsHelpMessage("Empty", 4, 30, 1)
EndIf EndIf
EndEvent EndEvent