Oblivion Game Data

Select game:

Search:

Select a record type:

NDCarodusOholinSCRIPT (0xKN000d87)

  • Record Type: SCPT
  • Editor ID: NDCarodusOholinSCRIPT
  • Form ID: 0xKN000d87
  • Source File: Knights.esp.mod
  • Patch Status: FormID has not been modified.
Parameter Value
SCTX
ScriptName NDCarodusOholinSCRIPT

short	SpokenToPlayer
short JoinedOrder
short	DoOnce


; clear follower variables if I'm the follower when I die
begin OnDeath
	if GetSelf == ND00.FollowerRef
		set ND00.FollowerRef to 0
		set ND00.Following to 0
		set ND00.FollowerClear to 1
	endif

	if getstage ND10 >= 20 && getstage ND10 < 50
		set ND10.KnightsDead to ND10.KnightsDead + 1
		if ( ND00.KnightCount - ND10.KnightsDead ) <= 3
			set ND10.KnightFollow to 1
		endif	
	endif
end


begin OnPackageEnd NDCarodusToPriory
	if GetInFaction NDKnightsoftheNine == 0
		set ND00.KnightCount to ND00.KnightCount + 1
		SetActorFullName "Sir Carodus"
		SetFactionRank NDKnightsoftheNine 0
		; no longer essential
		SetEssential NDCarodusOholin 0
		; knight equipment
		removeallitems
		additem NDKnightsCuirass 1
		additem NDKnightsShield 1
		additem ChainmailBoots 1
		additem ChainmailGauntlets 1
		additem ChainmailGreaves 1
		additem ChainmailHelmet 1
		additem LL0NPCWeaponLongswordLvl100 1
		additem LL0NPCWeaponBowLvl100 1
		additem Arrow3Silver 5
		; they need clothes to sleep in
		additem LowerPants05 1
		additem LowerShirt06 1
		additem LowerShoes01 1
		equipitem NDKnightsCuirass
		equipitem NDKnightsShield 
		equipitem ChainmailBoots 
		equipitem ChainmailGauntlets 
		equipitem ChainmailGreaves 
		equipitem ChainmailHelmet 
	endif
end

BEGIN OnActivate

	if ( ND10.TimeStopped == 1 ) && ( Player.GetInCell NDGarlasMalatar02a == 1 )
		message "The time stop effect prevents you from interacting with the Knights."
	else
			activate
	endif

END

begin OnStartCombat player
	return
end

begin OnStartCombat
	Say NDKnightsStartCombat
end




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