Oblivion Game Data

Select game:

Search:

Select a record type:

MS10UlrichScript (0x0003c37c)

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

float timer
short MQ13doOnce 

short Doonce
short Doonce1

begin OnDeath

if ( getstage MS10 >= 78 ) && ( GetStage MS10 < 80 )
	setstage MS10 80
endif

end

begin OnDeath

if ( GetStage MS10 >= 10 ) && ( GetStage MS10 < 78 ) && ( GetQuestRunning MQ13 == 1 )
	setstage MS10 200
endif

end

begin OnDeath

if ( GetStage MS10 >= 90 ) && ( GetStage MS10 < 150 ) && ( GetQuestRunning MQ13 == 1 )
	setstage MS10 200
endif

end

begin OnDeath

if ( GetStage MS10 >= 10 ) && ( GetStage MS10 < 78 ) && ( GetQuestRunning MQ13 == 0 )
	setstage MS10 150
endif

end

begin OnDeath

if ( GetStage MS10 >= 90 ) && ( GetStage MS10 < 150 ) && ( GetQuestRunning MQ13 == 0 )
	setstage MS10 150
endif

end

begin gamemode

if ( MS10.UlrichFollow == 1 ) && ( GetStage MS10 < 78 ) && ( Doonce1 == 0 )
	Evp
	Set Doonce1 to 1
endif

	if timer > 0
		set timer to timer - getsecondspassed
	elseif MQ13doOnce == 1
		SayTo MartinRef MQ13MartinBattleSpeech
		pickidle
		set MQ13doOnce to 2
	endif

	if (getstage MQ13 == 44 || getstage MQ13 == 45) && MQ13.speechTimer <= 0 && MQ13doOnce == 0
		set MQ13doOnce to 1
		set timer to getrandompercent * .005
	endif

end

begin OnPackageChange MQ14CheerPlayer
	stoplook
end

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