Fallout Wiki
Fallout Wiki
Details
Type Decompiled script
Editor ID BMBoulder1PushScript02
Form ID 000EA4C2

This script triggers the smaller rocks to tumble when on the path to Black Mountain.

scn BMBoulder1PushScript02
; This script runs when the player begins to climb up the trail that leads to a
; rockslide on Black Mountain. It causes several smaller rocks to begin coming
; down as a warning.
int DoOnce
int StartSlide
float Timer
begin OnTriggerEnter player
        if DoOnce == 0
                NVRS01b01.enable
                NVRS01b02.enable
                NVRS01b03.enable
                NVRS01b04.enable
                NVRS01b05.enable
                NVRS01b06.enable
                NVRS01b07.enable
                NVRS01b08.enable
                NVRS01b09.enable
                NVRS01b10.enable
                NVRS01b11.enable
                NVRS01b12.enable
                NVRS01b13.enable
                set StartSlide to 1
                Set DoOnce to 1
        endif
end
begin GameMode
        if StartSlide == 1
                if Timer < 1.0
                        set Timer to Timer + GetSecondsPassed
                        BMBoulder2PushMarker02.PlaceAtMe FakeForceBallNudge
                        ; Play sound for smaller rocks coming down
                        PlaySound FXEventBoulderSmall
                        NVRS01b01.PlayGroup Forward 0
                        NVRS01b02.PlayGroup Forward 0
                        NVRS01b03.PlayGroup Forward 0
                        NVRS01b04.PlayGroup Forward 0
                        NVRS01b05.PlayGroup Forward 0
                        NVRS01b06.PlayGroup Forward 0
                        NVRS01b07.PlayGroup Forward 0
                        NVRS01b08.PlayGroup Forward 0
                        NVRS01b09.PlayGroup Forward 0
                        NVRS01b10.PlayGroup Forward 0
                        NVRS01b11.PlayGroup Forward 0
                        NVRS01b12.PlayGroup Forward 0
                        NVRS01b13.PlayGroup Forward 0
                        set StartSlide to 2
                endif
        endif
end