Oblivion Game Data

Select game:

Search:

Select a record type:

sprigscript (0x000ad370)

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

short rezvar
float timer
short getup

Begin OnDeath

if ( rezVar == 0 )
	set rezVAR to 1
	set getup to 1
elseif ( rezVar == 2 )
	set rezVAR to 3
	set getup to 1
endif

End

Begin GameMode

if ( getup >= 1 )
	set timer to ( timer + GetSecondsPassed )
endif

if ( timer >= 4 )
	if ( rezVar == 1 )
		;setAV health 140
		;setAV fatigue 220
		PlayMagicEffectVisuals PARA
		SetScale 1.1
		Resurrect 1
		set rezVAR to 2
		set getup to 0
		set timer to 0
	elseif ( rezVAR == 3 )
		;setAV health 140
		;setAV fatigue 220
		PlayMagicEffectVisuals PARA
		SetScale 1.2
		Resurrect 1
		set rezVAR to 4
		set getup to 0
		set timer to 0
	endif
endif



End

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