Oblivion Game Data

Select game:

Search:

Select a record type:

Dark05EnforcerScript (0x0002f087)

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

short enabled
short EnforcerDead
short Attack

Begin GameMode

;disable Hides-His-Heart and his men until they're needed by the quest
if enabled == 0
	if ( GetStage Dark05Assassinated < 10 )
		HidesHisHeartRef.Disable
		;WallaceRef.Disable
		;Disable
		set enabled to 1
	endif
endif


;disable Hides-His-Heart and his men until they're needed by the quest
if enabled == 0
	if ( GetStage Dark05Assassinated >= 10 )
		if Dark05Assassinated.HidesHeartSound < 1
			HidesHisHeartRef.Disable
			set enabled to 1
		endif
	endif
endif


if Dark05Assassinated.Oops == 2
	if HidesHisHeartRef.Enabled == 1
		if Attack == 0
			HidesHisHeartRef.StartCombat Player
			set Attack to 1
		endif
	endif
endif
	


End


Begin OnDeath

if EnforcerDead == 0
	setstage Dark05Assassinated 70
	set EnforcerDead to 1
endif

End

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