Skip to content

Commit

Permalink
Added SCP-049-Spotted lines for MTF Units
Browse files Browse the repository at this point in the history
  • Loading branch information
ENDSHN committed Dec 22, 2016
1 parent 38dd9c4 commit f3cb43c
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 10 deletions.
16 changes: 6 additions & 10 deletions NPCs.bb
Original file line number Diff line number Diff line change
Expand Up @@ -5210,11 +5210,9 @@ Function UpdateMTFUnit(n.NPCs)
n\PathStatus = 0
n\Target = n2
DebugLog "049 spotted :"+n\State2
;If n\MTFLeader=Null
; If n\Sound <> 0 Then FreeSound_Strict n\Sound : n\Sound = 0
; n\Sound = LoadSound_Strict("SFX\Character\MTF\
; PlayMTFSound(n\Sound, n)
;EndIf
If n\Sound <> 0 Then FreeSound_Strict n\Sound : n\Sound = 0
n\Sound = LoadSound_Strict("SFX\Character\MTF\049\Spotted"+Rand(1,5)+".ogg")
PlayMTFSound(n\Sound, n)
Exit
EndIf
EndIf
Expand Down Expand Up @@ -5539,11 +5537,9 @@ Function UpdateMTFUnit(n.NPCs)
n\PathStatus = 0
n\Target = n2
DebugLog "049 spotted :"+n\State2
;If n\MTFLeader=Null
; If n\Sound <> 0 Then FreeSound_Strict n\Sound : n\Sound = 0
; n\Sound = LoadSound_Strict("SFX\Character\MTF\
; PlayMTFSound(n\Sound, n)
;EndIf
If n\Sound <> 0 Then FreeSound_Strict n\Sound : n\Sound = 0
n\Sound = LoadSound_Strict("SFX\Character\MTF\049\Spotted"+Rand(1,5)+".ogg")
PlayMTFSound(n\Sound, n)
Exit
EndIf
EndIf
Expand Down
Binary file added SFX/Character/MTF/049/Spotted1.ogg
Binary file not shown.
Binary file added SFX/Character/MTF/049/Spotted2.ogg
Binary file not shown.
Binary file added SFX/Character/MTF/049/Spotted3.ogg
Binary file not shown.
Binary file added SFX/Character/MTF/049/Spotted4.ogg
Binary file not shown.
Binary file added SFX/Character/MTF/049/Spotted5.ogg
Binary file not shown.

0 comments on commit f3cb43c

Please sign in to comment.