Oblivion Game Data

Select game:

Search:

Select a record type:

JeeliusScript (0x00024dd6)

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

; QUESTS:
; MQ06

short button

begin OnLoad
	if getiscurrentpackage MQ06JeeliusPrisoner == 1
		setunconscious 1
	endif
end

begin onActivate
	
	if MQ06.freePrisoner == 0 && getdead == 0 && getincell LakeArriusShrineDagon == 1
		if IsActionRef player == 1
			messagebox "Do you want to release the prisoner?", "Yes", "No"
		endif
	else
		Activate
	endif
end

begin gamemode

     set button to GetButtonPressed
	if button == 0
		set MQ06.freePrisoner to 1
		setunconscious 0
		JeeliusRef.setfactionrank mythicdawnprisoner -1
		JeeliusRef.setfactionrank NineDivines 8
		JeeliusRef.moddisposition player 50
		setstage MQ06 51
		JeeliusRef.evp
	endif
end

begin OnHit player
	if getiscurrentpackage MQ06JeeliusPrisoner == 1
		JeeliusRef.setfactionrank mythicdawnprisoner -1
		JeeliusRef.setfactionrank NineDivines 8
		; he dies from one hit if he's a prisoner
		kill
		; if the player is still playing the part of a cult initiate, don't put out alarm
		if getstagedone MQ06 41 == 0 && getstagedone MQ06 46 == 0 && getstagedone MQ06 51 == 0
			player.scaonactor
			player.setfactionrank mythicdawn 1
		endif
		; clear the shrine
		MQ06Acolyte01Ref.evp				
		MQ06Acolyte02Ref.evp
		MQ06Acolyte03Ref.evp
		MQ06Acolyte04Ref.evp
	endif
end

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