Oblivion Game Data

Select game:

Search:

Select a record type:

AnvilCastleJailorScript (0x00007e3b)

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

Float KeepTime

; the OnDeath script is on many guards in Castle Anvil

Begin OnDeath Player
	If GetStage TG07Lex >= 10 && GetStage TG07Lex < 100
		Set TG07Lex.TotalDead to TG07Lex.TotalDead + 1
		SetStage TG07BloodPrice 70
	EndIf
End

Begin OnPackageEnd AnvilPrisonFollowPCDay
	Set NQDGuard.AnvilDoorOpen to 0
End

Begin OnPackageEnd AnvilPrisonFollowPCNight
	Set NQDGuard.AnvilDoorOpen to 0
End

Begin GameMode
	If NQDGuard.SayWarnings == 1 && GetInFaction Jailor == 1
		If KeepTime <= 0
			Set KeepTime to 6
			SayTo Player NQDGuardWarning
		Else
			Set KeepTime to KeepTime - GetSecondsPassed
		EndIf
	EndIf
End

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