Oblivion Game Data

Select game:

Search:

Select a record type:

SE10MessengerScript (0x0008f4eb)

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

short conv
short doonce

float convtimer

Begin GameMode

	if ( doonce == 0 )
		if ( GetDisabled == 0 )
			setforcerun 1
			set doonce to 1
		endif
	elseif ( doonce == 1 )
			if ( GetStage SE10 == 3 )
				if ( GetDistance SE10MessengerMarker <= 100 )
					set doonce to 2
				endif
			endif
		endif
	elseif ( Doonce == 2 )
		if ( Conv == 0 )
			if ( SE10SaintRef.GetDisabled == 0 )
				SESheogorathRef.look SE10SaintRef
			else
				SESheogorathRef.look SE10SeducerRef
			endif
			look SESheogorathRef
			set convtimer to SayTo SESheogorathRef SE10MessengerGreeting
			set conv to 1
		elseif ( Conv == 1 )
			if convtimer <= 0
				if ( SE10SaintRef.GetDisabled == 0 )
					SESheogorathRef.look SE10SaintRef
				else
					SESheogorathRef.look SE10SeducerRef
				endif
				look SESheogorathRef
				set convtimer to SESheogorathRef.SayTo SE10SaintRef SE10MessengerGreeting
				set Conv to 2
			
			else
				set convtimer to ( convtimer - GetSecondsPassed )
			endif
		elseif ( Conv == 2 )
			if ( Convtimer <= 0 )
				SetStage SE10 4
				SESheogorathRef.EvaluatePackage
;				SESheogorathRef.StartConversation Player
				set conv to -1
			else
				set convtimer to ( convtimer - GetSecondsPassed )
			endif
		endif
	endif

End

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