| This is the transcript of a script file, which runs certain tasks in the game upon execution. |
| Details | |
|---|---|
| Type | Decompiled script |
| Editor ID | BMTabithaPissedScript
|
| Form ID | 000E848E |
This script is related to Tabitha and various factors that can make her hostile to the player.
scn BMTabithaPissedScript
float Timer
int PrefightMessage
int ExplosionDone
int DoExplosion
int DoOnce
begin OnTriggerEnter TabithaREF
;if DoOnce == 0
; ; Make Tabitha scream in rage and then attack the player
;
; if VNPCFollowers.RaulAvailable == 1
; TabithaREF.SayTo player BMTabithaRages
; else
; TabithaREF.Say BMTabithaPrefight 1
; ShowMessage BMTabithaPrefight1Msg
; set PrefightMessage to 1
; endif
; Make Tabitha attack the player
; TabithaREF.StartCombat player
; set DoOnce to 1
;endif
end
begin GameMode
; Set var so the explosion happens 2 seconds after the player hit okay
;if PrefightMessage == 1 && GetButtonPressed == 0
; set DoExplosion to 1
;endif
; Fire dish explosion and set timer for Tabitha's second line
;if DoExplosion == 1 && Timer > 2.0
; ; Make dish explode
; BMDishExplosionMarkerREF.PlaceAtMe BMDishExplosion
; BMFallingDish.PlaySound3D FXEventSatelliteDrop
; set ExplosionDone to 1
; set DoExplosion to 0
; set PrefightMessage to 2
; set Timer to 0
;endif
;if DoExplosion == 1