15 lines
396 B
Plaintext
15 lines
396 B
Plaintext
Scriptname _00E_LoseGameWhenDetectedTrigger extends ObjectReference
|
|
|
|
Event OnTriggerEnter(ObjectReference akActionRef)
|
|
|
|
if akActionRef == Game.GetPlayer()
|
|
if (SneakQuest.GetStage() == SneakQuestStage)
|
|
NQ_G_07_Dijaam.ShowSpottedMessageAndLoseGame()
|
|
EndIf
|
|
EndIf
|
|
|
|
EndEvent
|
|
|
|
Quest Property SneakQuest Auto
|
|
int Property SneakQuestStage Auto
|
|
_00E_NQ_G_07_Functions Property NQ_G_07_Dijaam Auto |