33 lines
1.0 KiB
Plaintext
33 lines
1.0 KiB
Plaintext
|
Scriptname _00E_MQ07b_BeaconPartsSC extends ObjectReference
|
||
|
|
||
|
;=====================================================================================
|
||
|
; EVENTS
|
||
|
;=====================================================================================
|
||
|
|
||
|
Event OnInit()
|
||
|
|
||
|
Self.BlockActivation(True)
|
||
|
|
||
|
EndEvent
|
||
|
|
||
|
Event OnActivate(ObjectReference akActionRef)
|
||
|
|
||
|
If akActionRef == PlayerREF && MQ07b.GetStage() == 135 && !bDone
|
||
|
bDone = True
|
||
|
MQ07b.SetObjectiveCompleted(100 + iVisionIndex)
|
||
|
MQ07b.PlayVisionVoice(iVisionIndex, Self)
|
||
|
Self.Activate(PlayerREF, true)
|
||
|
Elseif akActionRef == PlayerREF && MQ07b.GetStage() >= 135
|
||
|
Self.Activate(PlayerREF, true)
|
||
|
EndIf
|
||
|
|
||
|
EndEvent
|
||
|
|
||
|
;=====================================================================================
|
||
|
; PROPERTIES
|
||
|
;=====================================================================================
|
||
|
|
||
|
bool bDone
|
||
|
int Property iVisionIndex Auto
|
||
|
Actor Property PlayerREF Auto
|
||
|
_00E_MQ07b_Questfunctions Property MQ07b Auto
|