enderalse/source/scripts/_00e_nq26_playeraliasscript.psc

26 lines
535 B
Plaintext

Scriptname _00E_NQ26_PlayerAliasScript extends ReferenceAlias
Auto State TrackingLoads
Event OnPlayerLoadGame()
_00E_NQ26_Questfunctions qScript = (GetOwningQuest() as _00E_NQ26_Questfunctions)
Int qStage = qScript.GetStage()
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