Oblivion Game Data

Select game:

Search:

Select a record type:

MS29AgarmirScript (0x0001ce05)

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

short DoOnce
short Doonce1
short Doonce2

begin OnDeath

if ( GetStage MS29 >= 10 ) && ( GetStage MS29 < 80 )
	setstage MS29 200
endif

if ( GetStage MS29 >= 80 ) && ( GetStage MS29 < 90 )
	Player.SetFactionRank MS29AgarmirFaction -1
	setstage MS29 90
endif

end

begin OnPackageEnd MS29AgarmirMeetsThoronir

if ( Doonce2 == 0 )
	set MS29.TalkOnce to ( MS29.TalkOnce + 1 )
	set Doonce2 to 1
endif

end

begin gamemode

;forcegreet player at graveyard
if ( GetStage MS29 == 82 ) 
	if ( DoOnce== 0 ) && ( GetDistance Player <= 500 )
		StartConversation Player, Greeting
		set DoOnce to 1
	endif
endif

if ( MS29.GoAttack == 1 ) && ( Doonce1 == 0 )
	startcombat player
	set Doonce1 to 1
endif

end

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