enderalse/source/scripts/_00e_mq11bjesparfollowentrigger.psc

51 lines
1.7 KiB
Plaintext

Scriptname _00E_MQ11bJesparFollowEntrigger extends ObjectReference
; Event OnTriggerEnter(ObjectReference akActionRef)
; if (akActionRef == PlayerREF)
; if(MQ11b.GetStage() >= 60 ) && (MQ11b.GetStage() < 70 )
; if (_00E_MQ11b_TravelState.GetValue() == 0) && IsNearDunehome == 0
; _00E_MC_JesparREF.Say(JesparDialogue_Misc_PlayerReentersFollowTrigger)
; Debug.MessageBox("Jespar folgt Euch wieder.")
; EndIf
; If InTrigger == False
; _00E_MQ11b_TravelState.SetValue((_00E_MQ11b_TravelState.GetValue()+1))
; InTrigger = True
; Debug.MessageBox(akActionRef + " just entered us!" + _00E_MQ11b_TravelState.GetValue())
; _00E_MC_JesparREF.EvaluatePackage()
; EndIf
; endif
; endif
; EndEvent
; Event OnTriggerLeave(ObjectReference akActionRef)
; if (akActionRef == PlayerREF)
; if(MQ11b.GetStage() >= 60 ) && (MQ11b.GetStage() < 70 )
; If InTrigger == True
; _00E_MQ11b_TravelState.SetValue((_00E_MQ11b_TravelState.GetValue() - 1))
; Debug.MessageBox(akActionRef + " just left us!" + _00E_MQ11b_TravelState.GetValue())
; _00E_MC_JesparREF.EvaluatePackage()
; InTrigger = False
; EndIf
; if (_00E_MQ11b_TravelState.GetValue() == 0)
; Debug.MessageBox("Jespar wird auf dem Weg auf Euch warten.")
; _00E_MC_JesparREF.Say(JesparDialogue_Misc_PlayerLeavesFollowTrigger)
; EndIf
; endif
; endif
; EndEvent
; bool InTrigger
Actor Property PlayerREF Auto
Actor Property _00E_MC_JesparREF Auto
Quest Property MQ11b Auto
GlobalVariable Property _00E_MQ11b_TravelState Auto
bool property IsNearDunehome Auto
Topic Property JesparDialogue_Misc_PlayerLeavesFollowTrigger Auto
Topic Property JesparDialogue_Misc_PlayerReentersFollowTrigger Auto