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.
38 lines
977 B
38 lines
977 B
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
|
|
|