Enderal SE https://mod.pub/enderal-se/38-enderal-se
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
614 B
23 lines
614 B
Scriptname _00E_SecureChest_script extends ObjectReference
|
|
|
|
ObjectReference Property HostChest Auto
|
|
actor property playerREF auto
|
|
|
|
Event OnInit()
|
|
self.BlockActivation()
|
|
EndEvent
|
|
|
|
Event OnActivate(ObjectReference player)
|
|
if _00E_SecureChestTutorialDone.GetValue() == 0 && _00E_DisableQuestTutorials.GetValueInt() == 0
|
|
_00E_SecureChestTutorialDone.SetValue(1)
|
|
_00E_SecureChestTutorial.Show()
|
|
endif
|
|
HostChest.Activate(player)
|
|
|
|
return
|
|
endevent
|
|
|
|
|
|
Message Property _00E_SecureChestTutorial Auto
|
|
GlobalVariable Property _00E_SecureChestTutorialDone Auto
|
|
GlobalVariable Property _00E_DisableQuestTutorials Auto |