Oblivion Game Data

Select game:

Search:

Select a record type:

MS04Script (0x0003d310)

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


short SaidNo
short GetMad
short GoAttack
short SetUp2
short SetUp4
short GangCount
short GreetMe
short CleanUp
short FindPlayer
short DieJournal
short Doonce
short Doonce1
short Doonce2
short Doonce3
short FaustinaRun
short SignyDies
short AttackYou
short SafeKill
short Doorlocked
float WaitTimer
float fQuestDelayTime
short Undressing			; set to 1 when player agrees to undress

begin gamemode

;Quest Killer

if GetStage MS04 < 5
	Return
endif

;This enables Signy and Faustina inside the Flowing Bowl after a short period of time

if ( GetStage MS04 >= 35 ) && ( GetStage MS04 < 40 )
	if ( Player.GetInCell AnvilTheFlowingBowl == 1 ) && ( FindPlayer == 0 )
		if ( WaitTimer < 10.0 )
			set WaitTimer to ( WaitTimer + GetSecondsPassed )
			else
				FaustinaRef.MoveTo MS04FaustinaAppearsMarker
				SignyRef.MoveTo MS04SignyAppearsMarker
				set FindPlayer to 1
		endif
	endif
endif

;This triggers Stage 50 on arrival at Gweden

if ( GetStage MS04 == 40 )
	if ( Player.GetDistance MS04GwedenArrivalMarker <= 400 )
		setstage MS04 50
	endif
endif

;This triggers door lock when entering Gweden for the first time

if ( GetStage MS04 >= 50 ) && ( Doorlocked == 0 )
	if ( Player.GetInCell GwedenFarmInterior == 1 )
		MS04GwedenDoorRef.Lock 100
		set Doorlocked to 1
	endif
endif

;This enables the rest of the gang when Faustina calls for the attack

if ( GetStage MS04 >= 50 ) && ( GoAttack == 1 )
	SignyRef.Enable
	TsarrinaRef.Enable
	SignyRef.SetAv Aggression 90
	SignyRef.StartCombat Player
	TsarrinaRef.StartCombat Player
	set SafeKill to 1
	set GoAttack to 2
endif

;This triggers stage 60 when all 3 gang members are dead

if ( SignyRef.GangDie == 1 ) && ( Doonce == 0 )
	set DieJournal to ( DieJournal + 1)
	set Doonce to 1
endif

if ( FaustinaRef.GangDie == 1 ) && ( Doonce1 == 0 )
	set DieJournal to ( DieJournal + 1)
	set Doonce1 to 1
endif

if ( TsarrinaRef.GangDie == 1 ) && ( Doonce2 == 0 )
	set DieJournal to ( DieJournal + 1)
	set Doonce2 to 1
endif

if ( DieJournal < 4 )
	if ( DieJournal == 3 ) && ( GetStage MS04 >= 50 ) && ( Doonce3 == 0 )
		SetStage MS04 60
		set Doonce3 to 1
	endif
endif

;This makes Maelona and Gogan Guards appear at the farmhouse on stage 60 & Forcegreets

if ( GetStage MS04 >= 60 ) && ( SetUp4 == 0 )
	MaelonaGuardRef.Enable
	GoganGuardRef.Enable
	MaelonaGuardRef.StartConversation Player, Greeting
	set SetUp4 to 1
endif

end

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