Fallout Wiki
Fallout Wiki
Details
Type Decompiled script
Editor ID VMQ02QuestScript
Form ID 00129D15

scn VMQ02QuestScript
float Timer
short VaultSecurityAlerted; 0 = Sentry Bots on standby, 1 = Sentry Bots out to kill player.
short RegulatorsDestroyed; Total of 3
short DoOnce
short nResponseActive  ; Debug purposes only
short bBennyKilled
short NumMissionsCompleted  ; Total of 3 - required before moving onto presidential assassination quest.
; ***** WGS Variables
short bWGSLeadersDead  ; Player killed both Mortimer and Marjorie
short ResolvedSecuritronVault
short ResolvedHouse
short ResolvedBoomers
short ResolvedWGS
short ResolvedBrotherhood
; Added conditionals for Quest Stages to nest underneath more expensive checks.
; Part of a game-wide revision of scripts - Jorge 03/15/10
begin GameMode
        if (GetObjectiveDisplayed VMQ02 8) && (GetObjectiveCompleted VMQ02 8 == 0)
                if (VFortBennyRef.GetDead)
                        SetObjectiveCompleted VMQ02 8 1
                        SetObjectiveDisplayed VMQ02 9 1
                        set VStoryEventBennyKilledFort to 1
                endif
        endif
        ; Boomer leadership killed.
        If (GetObjectiveDisplayed VMQ02 22 == 1) && (GetObjectiveCompleted VMQ02 22 == 0)
                if (NellisPearlREF.GetDead) && (NellisLoyalREF.GetDead)
                        SetObjectiveCompleted VMQ02 22 1 ; Complete objective to kill Pearl and Loyal.
                        SetObjectiveDisplayed VMQ02 20 0 ; Remove objective to gain alliance with Boomers.
                        SetObjectiveDisplayed VMQ02 25 0 ; Remove objective to tell Caesar about an alliance with the Boomers.
                        SetObjectiveDisplayed VMQ02 30 1 ; Tell Caesar that the Boomers have been neutralized.
                        set VStoryEventBoomers to 2
                endif
        Endif
        ; JSH-OEI 8/26
        if (VMS18MarjorieREF.GetDead) && (VMS18MortimerREF.GetDead) && (bWGSLeadersDead == 0)
                set bWGSLeadersDead to 1
        endif
        ; White Glove Society leaders killed
        if (GetObjectiveDisplayed VMQ02 40)