Oblivion Game Data

Select game:

Search:

Select a record type:

MGExpulsion02Script (0x00026d8c)

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


;Handles 2nd expulsion from Mages Guild in the event of rule-breaking
;Note: Blocking dialogue for Mages Guild NPCs is contained in quest MG00General
;dialogue for Raminus Polus is in quest MGExpulsion02

short RaminusTarget


Begin GameMode

if ( GetStage MGExpulsion02 == 0 )

;If player steals from Guild, expel him and set appropriate stage

	if ( GetStage MGExpulsion02 < 10 )
		If GetPCFactionSteal MagesGuild == 1
			SetPCExpelled MagesGuild 1
			player.removeitem MagesGuildKey 1
			SetStage MGExpulsion02 10
		endif
	endif


;If player attacks a guild member, expel him and set stage
;Commented out for now

;if ( GetStage MGExpulsion02 < 20 )
;	if GetPCFactionAttack MagesGuild == 1
;		SetPCExpelled MagesGuild 1
;		SetStage MGExpulsion02 20
;	endif
;endif


;If player kills a guild member, expel him and set appropriate stage

	if ( GetStage MGExpulsion02 < 30 )
		If GetPCFactionMurder MagesGuild == 1
			SetPCExpelled MagesGuild 1
			player.removeitem MagesGuildKey 1
			SetPCFactionMurder MagesGuild 0
			SetStage MGExpulsion02 30
		endif
	endif

endif

End


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