Oblivion Game Data

Select game:

Search:

Select a record type:

NDProphetSCRIPT (0xKN000da2)

  • Record Type: SCPT
  • Editor ID: NDProphetSCRIPT
  • Form ID: 0xKN000da2
  • Source File: Knights.esp.mod
  • Patch Status: FormID has not been modified.
Parameter Value
SCTX
scn NDProphetSCRIPT

float timer
short startPreaching
short	Sermon

begin menumode 1009
	if getstage ND09 == 0
		set timer to 5
	endif
end

begin gamemode
	if timer > 0
		set timer to timer - GetSecondsPassed
	else
		if startPreaching == 1
			if getIsCurrentPackage NDProphetPreachAnvil == 1
				if IsTalking == 0 && getdistance NDProphetPreachAnvilMarker < 50 
					startconversation NDProphetRef NDProphetSpeechMain
					set timer to 10
				endif
			endif
		elseif GetStage ND09 >= 5
			if ( Sermon == 0 )
				if ( GetDistance ND09ProphetChapelMarker < 10 )
					startconversation NDProphetRef ND09ProphetSermon01
					set Sermon to 1
				endif
			endif
		endif
	endif
end

begin OnPackageDone NDProphetPreachAnvil
	set startPreaching to 1
end

begin OnPackageChange NDProphetPreachAnvil
	set startPreaching to 0
end


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