33 lines
976 B
Plaintext
33 lines
976 B
Plaintext
Scriptname _00E_FS_NQR05_WeatherTriggerSC extends ObjectReference
|
|
|
|
|
|
;=====================================================================================
|
|
; EVENTS
|
|
;=====================================================================================
|
|
|
|
Event OnTriggerEnter (ObjectReference akActionREF)
|
|
|
|
if akActionREF == PlayerREF
|
|
if (FS_NQR05.GetStage() >= 65) && (FS_NQR05.GetStage() <= 180)
|
|
_00E_FS_NQR05_SiteWeather.SetActive(True)
|
|
EndIf
|
|
EndIf
|
|
|
|
EndEvent
|
|
|
|
Event OnTriggerLeave (ObjectReference akActionREF)
|
|
|
|
if akActionREF == PlayerREF
|
|
Weather.ReleaseOverride()
|
|
EndIf
|
|
|
|
EndEvent
|
|
|
|
;=====================================================================================
|
|
; PROPERTIES
|
|
;=====================================================================================
|
|
|
|
Actor Property PlayerREF Auto
|
|
|
|
Weather Property _00E_FS_NQR05_SiteWeather Auto
|
|
Quest Property FS_NQR05 Auto |