Oblivion Game Data

Select game:

Search:

Select a record type:

SEAbGrummite1Script (0x0005ec68)

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

Short RegenOn
Short RainGenOn

Begin ScriptEffectStart
	RemoveSpell SEAbGrummite1RegenWater
	RemoveSpell SEAbGrummiteRegenRain
End

Begin ScriptEffectUpdate
	If RegenOn == 0
		If IsSwimming == 1
			RemoveSpell SEAbGrummite1RegenWater
			AddSpell SEAbGrummite1RegenWater
			Set RegenOn to 1
		EndIf
	Else
		If IsSwimming == 0 
			RemoveSpell SEAbGrummite1RegenWater
			Set RegenOn to 0
		EndIf
	EndIf
	If RainGenOn == 0
		If IsInInterior == 0
			If IsRaining == 1 && IsSwimming == 0
				RemoveSpell SEAbGrummiteRegenRain
				AddSpell SEAbGrummiteRegenRain
				Set RainGenOn to 1
			EndIf
		EndIf
	Else
		If IsRaining == 0 || IsInInterior == 1
			RemoveSpell SEAbGrummiteRegenRain
			Set RainGenOn to 0
		EndIf		
	EndIf
End

Begin ScriptEffectFinish
	RemoveSpell SEAbGrummite1RegenWater
	RemoveSpell SEAbGrummiteRegenRain
End

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