Gunmaster95
SCN UCACETerminal01ScriptShort TaskShort DoOnceShort NPCCountRef rCurRefBegin GameMode If Task == 3 && DoOnce ==0 ;start Actor follower move set rCurRef to GetFirstRef 200 0 0 ;All actors Label 10 if rCurRef if (rCurRef.GetPackagetarget == player) && (rCurRef.GetCurrentAIpackage == 1) Set NPCCount to NPCCount + 1 If NPCCount > 4 rCurRef.moveto FollowerSPot1 Else rCurRef.moveto FollowerSpot2 Endif rCurRef.setunconscious 1 set rCurRef to GetNextRef Goto 10 else set rCurRef to GetNextRef Goto 10 Endif Endif Set DoOnce to 1 Endif If task == 13 && DoOnce == 1 ;recover NPC followers set rCurRef to GetFirstRef 200 0 0; NPCs Label 20 if rCurRef if (rCurRef.GetPackagetarget == player) && (rCurRef.GetCurrentAIpackage == 1) rCurRef.setunconscious 0 set rCurRef to GetNextRef Goto 20 else set rCurRef to GetNextRef Goto 20 Endif Endif Set DoOnce to 2 EndifEnd
SCN UCACETerminal01ScriptShort TaskShort DoOnceRef rCurRefBegin GameMode If Task == 3 && DoOnce ==0 ;start Actor follower move set rCurRef to GetFirstRef 200 0 0 ;200 = All actors Label 10 if rCurRef if (rCurRef.GetPackagetarget == player) && (rCurRef.GetCurrentAIpackage == 1) rCurRef.setunconscious 1 endif set rCurRef to GetNextRef Goto 10 Endif Set DoOnce to 1 Endif If task == 13 && DoOnce == 1 ;recover NPC followers set rCurRef to GetFirstRef 200 0 0; NPCs Label 20 if rCurRef if (rCurRef.GetPackagetarget == player) && (rCurRef.GetCurrentAIpackage == 1) rCurRef.setunconscious 0 endif set rCurRef to GetNextRef Goto 20 Endif Set DoOnce to 2 EndifEnd
Begin GameMode If Task == 1 set rCurRef to GetFirstRef 200 0 0 Label 10 if rCurRef if (rCurRef.GetPackagetarget == player) && (rCurRef.GetCurrentAIpackage == 1) rCurRef.setunconscious 1 endif set rCurRef to GetNextRef Goto 10 Endif Set Task to 2 EndifEnd
scn PGMQ2FlashBack1StartTrigSCRIPTfloat timerShort DoOnceShort StageShort Taskref rCurRefBegin OnTriggerEnter Player If DoOnce == 0 && GetStage PGMQ2 == 45 Set DoOnce to 1 Set timer to 1 Disableplayercontrols 1 1 1 1 0 1 1 Set Stage to 1 Imod PGMQ2FlashBack1StartISM EndIfEndBegin GameMode If DoOnce == 1 If Timer > 0 Set Timer to (Timer - GetSecondsPassed) ElseIf Stage == 1 HaussGhostGTCLRef.MoveTo PGMQ2FlashGhostMoveRef1 Set Stage to 2 Set timer to 1 ElseIf Stage == 2 HaussGhostGTCLRef.MoveTo PGMQ2FlashGhostMoveRef2 Set Stage to 3 Set Timer to 2.5 ElseIf Stage == 3 HaussGhostGTCLRef.disable Player.RemoveSpell PipBoyLight Set Stage to 4 Set Timer to 3.5 Imod PGMQ2FlashBack1ISM Set PGMQ2.PCTimeOfDay To GameHour Set GameHour to 10 FlashBack1RecepRef.enable Player.Moveto PGMQ2FlashbackStartRef ShowMessage PGMQ2Flashback1Message Set Task to 1 ElseIf Stage == 4 EnablePlayerControls 1 0 0 0 1 0 0 Set Stage to 5 Set DoOnce to 2 EndIf EndIfEndBegin GameMode If Task == 1 set rCurRef to GetFirstRef 200 0 0 Label 10 if rCurRef if (rCurRef.GetPackagetarget == player) && (rCurRef.GetCurrentAIpackage == 1) rCurRef.setunconscious 1 endif set rCurRef to GetNextRef Goto 10 Endif Set Task to 2 EndifEnd
scn PGMQ2FlashBack1StartTrigSCRIPTfloat timerShort DoOnceShort Stageref rCurRefBegin OnTriggerEnter Player If DoOnce == 0 && GetStage PGMQ2 == 45 Set DoOnce to 1 Set timer to 1 Disableplayercontrols 1 1 1 1 0 1 1 Set Stage to 1 Imod PGMQ2FlashBack1StartISM EndIfEndBegin GameMode If DoOnce == 1 If Timer > 0 Set Timer to (Timer - GetSecondsPassed) ElseIf Stage == 1 HaussGhostGTCLRef.MoveTo PGMQ2FlashGhostMoveRef1 Set Stage to 2 Set timer to 1 ElseIf Stage == 2 HaussGhostGTCLRef.MoveTo PGMQ2FlashGhostMoveRef2 Set Stage to 3 Set Timer to 2.5 ElseIf Stage == 3 set rCurRef to GetFirstRef 200 0 0 Label 10 if rCurRef if (rCurRef.GetPackagetarget == player) && (rCurRef.GetCurrentAIpackage == 1) rCurRef.setunconscious 1 endif set rCurRef to GetNextRef Goto 10 Endif Set Stage to 4 ElseIf Stage == 4 HaussGhostGTCLRef.disable Player.RemoveSpell PipBoyLight Set Stage to 5 Set Timer to 3.5 Imod PGMQ2FlashBack1ISM Set PGMQ2.PCTimeOfDay To GameHour Set GameHour to 10 FlashBack1RecepRef.enable Player.Moveto PGMQ2FlashbackStartRef ShowMessage PGMQ2Flashback1Message ElseIf Stage == 5 EnablePlayerControls 1 0 0 0 1 0 0 Set Stage to 6 Set DoOnce to 2 EndIf EndIfEnd
if (rCurRef.GetPackagetarget == player) && (rCurRef.GetCurrentAIpackage == 1) rCurRef.setunconscious 1 PrintToConsole "Set unconscious - %n", rCurRef endif