Oblivion Game Data

Select game:

Search:

Select a record type:

SE32Fanatic7Script (0x00052f59)

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

Short SwingWeapon					; Flag to tell the idle manager which idle to play

Begin OnLoad
	SetGhost 1							; No combat allowed
End

Begin GameMode
	If IsWeaponOut == 0
		If GetDead == 0
			SetAlert 1
		EndIf
	EndIf
End

Begin OnActivate 								
	; prevent activation
End

Begin OnPackageChange SE32Travel7
	If SE32.InBailey == 1
		Say SE32FanaticYell															; shout a random combat line
		PickIdle																			; attack anim if SwingWeapon = 1
		Set SwingWeapon to 0														; Disallows swinging weapon idle
		Set SE32.Defender3Dead to 1												; Fanatic has swung
	EndIf
End

Begin OnPackageChange SE32TravelExit
	If SE32.InBailey == 1
		Set SE32.Fanatic7Dead to 1								; Fanatic has exited room, or died
		MoveTo SE32Fanatic7Away
	EndIf
End

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