enderalse/source/scripts/_00e_nq26_playeraliasscript.psc

26 lines
544 B
Plaintext
Raw Normal View History

Scriptname _00E_NQ26_PlayerAliasScript extends ReferenceAlias
Auto State TrackingLoads
Event OnPlayerLoadGame()
_00E_NQ26_Questfunctions qScript = (GetOwningQuest() as _00E_NQ26_Questfunctions)
2024-01-10 14:08:24 +00:00
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