Select game:
Search:
Select a record type:
|
DASheogorathScript (0x00026ae4)
- Record Type: SCPT
- Editor ID: DASheogorathScript
- Form ID: 0x00026ae4
- Source File: Oblivion.noSI.esm.mod
- Patch Status: FormID has not been modified.
Parameter |
Value |
SCTX |
ScriptName DASheogorathScript
short poisonVAR
short livestockdead
short ratpackageVAR
short ratsclose
float timer
short dogsdead
short weatherOnce
short startweather
Begin GameMode
if ( livestockdead == 6 )
if ( GetStage DASheogorath > 0 )
if ( GetStage DASheogorath < 60 )
SetStage DASheogorath 60
set poisonVAR to 0
endif
endif
endif
if ( GetStage DASheogorath == 47 )
if ( DASheogorathRATREF.GetDisabled == 1 )
DASheogorathRatREF.Enable
endif
endif
if ( GetStage DASheogorath == 60 )
set timer to ( timer - GetSecondsPassed )
if ( DASheogorathShrineREF.SheogorathSpeech == 7 )
set timer to DASheogorathShrineRef.say DASheogorathSpeech 1 DASheogorathVoice 1
set DASheogorathShrineREF.SheogorathSpeech to 8
elseif ( DASheogorathShrineREF.SheogorathSpeech == 8 ) && ( timer < 0 )
SetStage DASheogorath 65
endif
endif
if ( GetStage DASheogorath == 65 )
if ( player.GetDistance BorderWatchMapMarker <= 600 )
set startweather to 1
DisablePlayerControls
endif
endif
if ( GetStage DASheogorath == 65 ) && ( startweather == 1 )
set timer to ( timer + GetSecondsPassed )
if ( weatherOnce == 0 )
setweather OblivionStormOblivion
set weatherOnce to 1
endif
if ( timer > 30 ) && ( weatherOnce == 1 )
DASheogorathDog1REF.Enable
set weatherOnce to 2
set timer to 0
DASheogorathDogSoundREF.Enable
endif
endif
;if ( weatherOnce >=2 )
;set timer to ( timer + GetSecondsPassed )
;if ( timer <= 12 )
;Player.PlaySound NPCDogYelp01
;Player.PlaySound NPCDogYelp02
;Player.PlaySound NPCDogYelp03
;Player.PlaySound NPCDogYelp04
;Player.PlaySound NPCDogYelp05
;Player.PlaySound NPCDogInjured
;endif
;endif
if ( GetStage DASheogorath == 70 ) && ( weatherOnce == 2 )
set timer to ( timer + GetSecondsPassed )
if ( timer >= 5 )
DASheogorathDogSoundREF.Disable
SetWeather Clear
set weatherOnce to 3
endif
endif
if ( dogsdead >= 14 )
if ( GetStage DASheogorath < 70 )
SetStage DASheogorath 70
EnablePlayerControls
endif
endif
if ( poisonvar == 1 )
Set DASheoSheepREF1.feedVAR to 1
Set DASheoSheepREF2.feedVAR to 2
Set DASheoSheepREF3.feedVAR to 3
Set DASheoSheepREF4.feedVAR to 4
Set DASheoSheepREF5.feedVAR to 5
Set DASheoSheepREF6.feedVAR to 6
DASheoSheepREF1.evp
DASheoSheepREF2.evp
DASheoSheepREF3.evp
DASheoSheepREF4.evp
DASheoSheepREF5.evp
DASheoSheepREF6.evp
set poisonvar to 2
endif
if ( ratsclose >= 5 ) || ( GetDeadCount DASheogorathRat1 >= 5 )
if ( GetStage DASheogorath >= 40 )
if ( GetStage DASheogorath < 50 )
SetStage DASheogorath 50
endif
endif
endif
End |
|