2021-10-05 22:15:58 +00:00
|
|
|
Scriptname _00E_MQ11c_SilvergroveRadiusBoxScript extends ObjectReference
|
|
|
|
|
|
|
|
Event OnTriggerEnter(ObjectReference akActionRef)
|
|
|
|
|
|
|
|
If akActionRef == PlayerREF
|
|
|
|
MQ11c_PlayerInSilvergroveRadius.SetValue(1)
|
|
|
|
|
2024-01-10 14:08:24 +00:00
|
|
|
Int curStage = MQ11c.GetCurrentStageID()
|
2021-10-05 22:15:58 +00:00
|
|
|
If curStage < 70
|
|
|
|
_00E_MQ11c_SilvergroveCheatMSG.Show()
|
|
|
|
PlayerREF.MoveTo(WerkschauBullShitMarker)
|
|
|
|
MQ11c_PlayerInSilvergroveRadius.SetValue(0)
|
2024-01-10 14:08:24 +00:00
|
|
|
ElseIf MQ11c.GetCurrentStageID() >= 85
|
2021-10-05 22:15:58 +00:00
|
|
|
MQ11c_PlayerInSilvergroveRadius.SetValue(0)
|
|
|
|
Disable() ; Don't need it anymore
|
|
|
|
EndIf
|
|
|
|
EndIf
|
|
|
|
|
|
|
|
EndEvent
|
|
|
|
|
|
|
|
Event OnTriggerLeave(ObjectReference akActionRef)
|
|
|
|
|
|
|
|
If akActionRef == PlayerREF
|
|
|
|
MQ11c_PlayerInSilvergroveRadius.SetValue(0)
|
|
|
|
|
2024-01-10 14:08:24 +00:00
|
|
|
If MQ11c.GetCurrentStageID() >= 85
|
2021-10-05 22:15:58 +00:00
|
|
|
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
|