Oblivion Game Data

Select game:

Search:

Select a record type:

SE06DarkSeducerWardenSCRIPT (0x00018dd0)

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


begin OnPackageDone SE06DSWardenUnlockMainDoor
	; unlock the door permanently
	SE06DoorExteriorToMainPassageRef.unlock 1
	; open it, and make it default to open
	SE06DoorExteriorToMainPassageRef.setopenstate 1
	SE06DoorExteriorToMainPassageRef.setDoorDefaultOpen 1
end

begin OnDeath
	if getstage SE06 > 5
		; count seducers killed
		set SE06.DeadSeducers to SE06.DeadSeducers + 1
	
		; all dead?
		if SE06.DeadSeducers >= SE06.TotalSeducers && getstage SE06 < 150
			setstage SE06 140
		endif
	endif
end

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