Oblivion Game Data

Select game:

Search:

Select a record type:

FGD08Script (0x000356f6)

  • Record Type: SCPT
  • Editor ID: FGD08Script
  • Form ID: 0x000356f6
  • Source File: Oblivion.noSI.esm.mod
  • Patch Status: FormID has not been modified.
Parameter Value
SCTX
ScriptName FGD08Script

short goblinsdead
short speechVAR
short doOnce
short ranawaylikeapunk
float timer
short tookpotion
float timer2

Begin GameMode

if ( speechVAR == 3 )
	if ( doOnce == 0 )
		JeetumZeREF.StartConversation Player
		set doOnce to 1
	endif
endif

if ( tookpotion == 1 )
	set timer2 to ( timer2 + GetSecondsPassed )
	if ( timer2 >= 5 )
		BieneAmelionREF.Disable
		FGD08GoblinSheepREF1.Enable
		FGD08SheepREF1.Disable
		FGD08GoblinREF1.Enable
		FGD08GoblinREF2.Enable
		JolieRetieneREF.Disable
		EduardRetieneREF.Disable
		FGD08GoblinREF4.Enable
		MarieAlouetteREF.Disable
		FGD08BWCREF1.MovetoMarker FGD08BWCMoveMarker1
		FGD08BWCREF2.MovetoMarker FGD08BWCMoveMarker2
		FGD08BWCREF3.MovetoMarker FGD08BWCMoveMarker3
		set tookpotion to 2
		Player.MovetoMarker FGD08PlayerMoveMarker
	endif
endif

if ( goblinsdead >= 11 )
	if ( GetStage FGD08Infiltration < 60 )
		SetStage FGD08Infiltration 60
		set doOnce to 2
	endif
endif

if ( GetStage FGD08Infiltration == 50 )
	if ( goblinsdead < 11 )
		if ( Player.GetInCell WatersEdge == 0 )
			if ( Player.GetDistance WatersEdgeMapMarker >= 6000 )
				if ( ranawaylikeapunk == 0 )
					MessageBox "The Hist Sap begins to have a strange effect on you."
					set  ranawaylikeapunk to 1
				endif
			endif
		endif
	endif
endif

if ( ranawaylikeapunk == 1 )
	SetStage FGD08Infiltration 60
	set ranawaylikeapunk to 2
endif

if ( ranawaylikeapunk == 2 )
	set timer to ( timer + GetSecondsPassed )
	if ( timer >= 5 )
		set doOnce to 2
		set ranawaylikeapunk to 3
	endif
endif

;if ( player.GetDistance FGD08WatersEdgeMarker < 128 ) && ( GetStage FGD08Infiltration < 50 ) && (GetStage FGD08Infiltration >= 40 )
	;SetStage FGD08Infiltration 50
;endif

;if ( player.GetDistance FGD08WatersEdgeMarker <= 128 ) && ( GetStage FGD08Infiltration == 70 )
	;SetStage FGD08Infiltration 80
;endif

if ( doOnce == 2 ) 
	set doOnce to 3
	Player.MovetoMarker FGD08PlayerWakeMarker
endif

if ( doOnce == 3 )
	ModrynOreynREF.StartConversation Player 
	set doOnce to 4
endif

if ( GetStage FGD08Infiltration == 70 ) && ( doOnce == 4 )
	set doOnce to 5
	MarcelAmelionREF.Enable
	BieneAmelionREF.Enable
	FGD08SheepREF1.Enable
	JolieRetieneREF.Enable
	EduardRetieneREF.Enable
	MarieAlouetteREF.Enable
	BieneAmelionREF.MoveTo FGD08MassGraveMarker
	BieneAmelionREF.Kill
	FGD08SheepREF1.MoveTo FGD08GoblinSheepREF1
	FGD08SheepREF1.Kill
	FGD08SheepREF2.MoveTo FGD08GoblinSheepREF2
	FGD08SheepREF2.Kill
	FGD08SheepREF3.MoveTo FGD08GoblinSheepREF3
	FGD08SheepREF3.Kill
	FGD08SheepREF4.MoveTo FGD08GoblinSheepREF4
	FGD08SheepREF4.Kill
	FGD08SheepREF5.MoveTo FGD08GoblinSheepREF5
	FGD08SheepREF5.Kill
	FGD08SheepREF6.MoveTo FGD08GoblinSheepREF6
	FGD08SheepREF6.Kill
	FGD08SheepREF7.MoveTo FGD08GoblinSheepREF7
	FGD08SheepREF7.Kill
	JolieRetieneREF.MoveTo FGD08MassGraveMarker2
	JolieRetieneREF.Kill
	EduardRetieneREF.MoveTo FGD08MassGraveMarker3
	EduardRetieneREF.Kill
	MarieAlouetteREF.MoveTo FGD08MassGraveMarker4
	MarieAlouetteREF.Kill
	FGD08GoblinSheepREF1.Disable
	FGD08GoblinREF1.Disable
	FGD08GoblinREF2.Disable
	FGD08GoblinREF4.Disable
	FGD08BWCREF1.Disable
	FGD08BWCREF2.Disable
	FGD08BWCREF3.Disable
endif

End

Database last updated 11/02/2011
SCPT records last updated 10/31/2011