Oblivion Game Data

Select game:

Search:

Select a record type:

MGPostQuestScript (0x0002edfb)

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

;This script handles all variables and scripting for post-quest dialogue and conversation in the Mages Guild quest line


short assignmentscomplete
short rankincrease
short finalexpel
short achievementdone

begin gamemode

if ( GetStage MG18KingofWorms == 100 )
	if ( achievementdone == 0 )
		if ( isxbox == 1 )
			addachievement 40
			set achievementdone to 1
		endif
	endif
endif


if ( GetStage MGExpulsion02 == 100 )
	if finalexpel == 0
		if ( GetPCFactionSteal MagesGuild == 1 )
			SetPCExpelled MagesGuild 1
			player.removeitem MagesGuildKey 1
		elseif ( GetPCFactionMurder MagesGuild == 1 )
			setPCExpelled MagesGuild 1
			player.removeitem MagesGuildKey 1
		endif
		set finalexpel to 1
	endif	
endif

End

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