Oblivion Game Data

Select game:

Search:

Select a record type:

MS29Script (0x000180d1)

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

short MerchSend
short TalkOnce
short True
short Convo
float fQuestDelayTime
short MoveAway
short Doonce
short GoAttack

begin gamemode

;Triggers conversation between Agarmir and Thoronir if player is near
if ( GetStage MS29 >= 20 ) && ( TalkOnce == 2 )
	if ( Player.GetDistance MS29ThoronirAgarmirMeet <= 100 ) && ( ThoronirRef.GetDistance MS29ThoronirMeets <= 200 ) && ( AgarmirRef.GetDistance MS29AgarmirMeets <= 200 )
		DisablePlayerControls
		ThoronirRef.startconversation AgarmirRef, MS29ShadyDeal
		set TalkOnce to 3
	endif
endif

;Evp's both after Convo
if ( GetStage MS29 >= 20 ) && ( MoveAway == 1 ) && ( Doonce == 0 )
	ThoronirRef.Evp
	AgarmirRef.Evp
	SetStage MS29 40
	EnablePlayerControls
	set Doonce to 1
endif

;sets stage when near Agarmir's House
if ( GetStage MS29 == 40 ) && ( Player.GetDistance MS29ICTalosPlazaAgarmirsDoor <= 400 )
	setstage MS29 50
endif

;Sets the stage after entering Agarmir's Basement
if ( GetStage MS29 == 50 ) && ( Player.GetDistance MS29AgarmirBasementMarker <= 300 ) 
	setstage MS29 60
endif

;sets stage when Agarmir discovered at graveyard
if ( GetStage MS29 == 70 ) && ( Player.GetDistance MS29AgarmirGraveMarker <= 700 )
	setstage MS29 80
endif

;sets stage when inside tomb
if ( GetStage MS29 == 80 ) && ( Player.GetDistance AgarmirRef <= 800 )
	setstage MS29 82
	set fQuestDelayTime to 0
endif

end

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