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