Oblivion Game Data

Select game:

Search:

Select a record type:

ArenaGrayPrinceScript (0x00038b2e)

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

short enabled
short fightover
short doonce
short evaluate
short disqualified
short CombatantReset
short aggressive
short randomcrowd

Begin GameMode

 

if ( doonce == 0 )
	if ArenaIC.ChallengeAgronak == 1
		if ArenaIC.ReadyMatch == 1
			if ( getdead == 1 )
				set ArenaIC.GrandChampKilled to 1
				set ArenaIC.FightOver to 1
				set Arena.FightOver to 1
				set doonce to 1
			endif
		endif
	endif 
endif

if getav health > 20 && Arena.AttackPlayer >= 1
if ( randomcrowd >= 1 )
	if ( randomcrowd <= 10 )
		Playsound "AMBArenaCrowdBoo"
		set randomcrowd to -1
	elseif ( randomcrowd <= 30 )
		Playsound "AMBArenaCrowdCheerWin"
		set randomcrowd to -1
	;elseif ( randomcrowd <= 50 )
		;Playsound "AMBArenaCrowdCheerWin"
		;set randomcrowd to -1
	;elseif ( randomcrowd <= 70 )
		;Playsound "AMBArenaCrowdCheerWin"
		;set randomcrowd to -1
	;elseif ( randomcrowd <= 100 )
		;Playsound "AMBArenaCrowdCheerWin"
		;set randomcrowd to -1
	 
	endif
endif
endif


End

Begin OnHit Player

if player.getincell ICArena
	set randomcrowd to GetRandomPercent
endif

End


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