Oblivion Game Data

Select game:

Search:

Select a record type:

SE43Script (0x00072da3)

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

Short BhishaNear					; flag that is set if Bhisha is close to Ushnar
Short HasDogFood				; flag that is set if Bhisha has taken the dog food
Short DogAttackPC				; flag that is set for the dog to attack the PC

;These objects have scripts on them
;		SEBeggarBhishaRef
;		SEUshnarGraShadborgobRef
;		SE43SkeletalHoundRef
;		SEUshnarDogRef

Begin GameMode
	If GetStage SE43 < 200
		If BhishaNear == 0
			If SEUshnarGroShadborgobRef.GetDistance SEBhishaRef <= 512		; Set flag if Bhisha is near Ushnar
				Set BhishaNear to 1
			EndIF
		Else
			If SEUshnarGroShadborgobRef.GetDistance SEBhishaRef > 512			; Unset flag if Bhisha moves away from Ushnar
				Set BhishaNear to 0
			EndIf
		EndIf
	Endif
End

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