2021-10-05 22:15:58 +00:00
|
|
|
Scriptname _00E_MQ07b_BeaconPartsSC extends ObjectReference
|
|
|
|
|
|
|
|
;=====================================================================================
|
|
|
|
; EVENTS
|
|
|
|
;=====================================================================================
|
|
|
|
|
|
|
|
Event OnInit()
|
|
|
|
|
|
|
|
Self.BlockActivation(True)
|
|
|
|
|
|
|
|
EndEvent
|
|
|
|
|
|
|
|
Event OnActivate(ObjectReference akActionRef)
|
|
|
|
|
2024-01-10 14:08:24 +00:00
|
|
|
If akActionRef == PlayerREF && MQ07b.GetCurrentStageID() == 135 && !bDone
|
2021-10-05 22:15:58 +00:00
|
|
|
bDone = True
|
|
|
|
MQ07b.SetObjectiveCompleted(100 + iVisionIndex)
|
|
|
|
MQ07b.PlayVisionVoice(iVisionIndex, Self)
|
|
|
|
Self.Activate(PlayerREF, true)
|
2024-01-10 14:08:24 +00:00
|
|
|
Elseif akActionRef == PlayerREF && MQ07b.GetCurrentStageID() >= 135
|
2021-10-05 22:15:58 +00:00
|
|
|
Self.Activate(PlayerREF, true)
|
|
|
|
EndIf
|
|
|
|
|
|
|
|
EndEvent
|
|
|
|
|
|
|
|
;=====================================================================================
|
|
|
|
; PROPERTIES
|
|
|
|
;=====================================================================================
|
|
|
|
|
|
|
|
bool bDone
|
|
|
|
int Property iVisionIndex Auto
|
|
|
|
Actor Property PlayerREF Auto
|
|
|
|
_00E_MQ07b_Questfunctions Property MQ07b Auto
|