Oblivion Game Data

Select game:

Search:

Select a record type:

ARGasEmitter01Script (0x00034688)

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

float timer
short delay

begin gameMode
	; just occasionally repeat the gas spurts

	if delay == 0	; random seed, so each emitter isn't spouting at exactly the same time
		set delay to 6 + ( getRandomPercent / 3 )
		set timer to delay
	endif

	if ( timer <= 0 ) && ( delay > 0 )		; time to spurt
		playgroup forward 1
		set timer to delay
	endif	

	set timer to timer - getSecondsPassed

end

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