enderalse/source/scripts/_00e_mq11c_silvergroveradiusboxscript.psc

39 lines
977 B
Plaintext
Raw Normal View History

Scriptname _00E_MQ11c_SilvergroveRadiusBoxScript extends ObjectReference
Event OnTriggerEnter(ObjectReference akActionRef)
If akActionRef == PlayerREF
MQ11c_PlayerInSilvergroveRadius.SetValue(1)
Int curStage = MQ11c.GetStage()
If curStage < 70
_00E_MQ11c_SilvergroveCheatMSG.Show()
PlayerREF.MoveTo(WerkschauBullShitMarker)
MQ11c_PlayerInSilvergroveRadius.SetValue(0)
ElseIf MQ11c.GetStage() >= 85
MQ11c_PlayerInSilvergroveRadius.SetValue(0)
Disable() ; Don't need it anymore
EndIf
EndIf
EndEvent
Event OnTriggerLeave(ObjectReference akActionRef)
If akActionRef == PlayerREF
MQ11c_PlayerInSilvergroveRadius.SetValue(0)
If MQ11c.GetStage() >= 85
Disable() ; Don't need it anymore
EndIf
EndIf
EndEvent
Actor Property PlayerREF Auto
GlobalVariable Property MQ11c_PlayerInSilvergroveRadius Auto
Quest Property MQ11c Auto
Message Property _00E_MQ11c_SilvergroveCheatMSG Auto
ObjectReference Property WerkschauBullShitMarker Auto