4
Fork 0
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.
 
 
 

26 lines
544 B

Scriptname _00E_NQ26_PlayerAliasScript extends ReferenceAlias
Auto State TrackingLoads
Event OnPlayerLoadGame()
_00E_NQ26_Questfunctions qScript = (GetOwningQuest() as _00E_NQ26_Questfunctions)
Int qStage = qScript.GetCurrentStageID()
If qStage >= 50
GoToState("DoNothing")
ElseIf qStage >= 30 && GetRef().GetParentCell() == AgnodLevel00Generator
qScript.StartNQ26Explosion()
EndIf
EndEvent
EndState
State DoNothing
Event OnPlayerLoadGame()
; Do nothing
EndEvent
EndState
Cell Property AgnodLevel00Generator Auto