Oblivion Game Data

Select game:

Search:

Select a record type:

MelisandeScript (0x00073268)

  • Record Type: SCPT
  • Editor ID: MelisandeScript
  • Form ID: 0x00073268
  • Source File: Oblivion.noSI.esm.mod
  • Patch Status: This is the default version of this FormID, but it has previously been modified. Other versions are:
Parameter Value
SCTX
ScriptName MelisandeScript

Begin MenuMode

if ( GetStage MS40 < 10 )
	return
endif


if ( MS40.cureready == 0 )
	if ( MS40.argonianvar == 2 )
		if ( MS40.garlicvar == 2 )
			if ( MS40.nightshadevar == 2 )
				if ( MS40.bloodgrassvar == 2 )
					if ( MS40.ashvar == 2 )
						set MS40.cureready to 1
						RefreshTopicList
					endif
				endif
			endif
		endif
	endif
endif


End

Begin Gamemode


if ( MS40.cureready == 2 )
	set MS40.currentday to GameDay
	set MS40.currenthour to GameHour
	set MS40.cureready to 3
endif



if ( MS40.cureready == 3 )
	if ( MS40.doorlocked == 0 )
		if ( MelisandeRef.GetinCell DrakeloweFarmBasement == 1 )
			DrakeloweTrapDoorRef.lock 100
			set MS40.doorlocked to  1
		endif
	endif
endif

if ( MS40.cureready == 3 )
	if ( MelisandeRef.GetDistance MS40MelisandeBasementMark < 200 )
		set MS40.cureready to 4
	endif
endif


if ( MS40.cureready == 4 )
	if ( MS40.currentday != GameDay ) && ( MS40.currenthour < GameHour )
		set MS40.cureready to 5
		MelisandeRef.EvaluatePackage
		DrakeloweTrapDoorRef.unlock
	endif
endif

End

Begin OnActivate

if ( isActionRef Player == 1 )
	if ( GetStage MS40 == 70 )
		if ( MS40.endstate >= 6 ) && ( MS40.endstate < 17 )
			return
		else
			Activate
		endif
	else
		Activate
	endif
else
	Activate
endif
		
End

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