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.
26 lines
535 B
26 lines
535 B
3 years ago
|
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
|