Oblivion Game Data

Select game:

Search:

Select a record type:

MS21Script (0x0002ab4b)

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

short foundCount				; how many statues has the player found?
short sellCount					; how many statues has player sold?
short questCount				; how many statues has the player brought to Umbacano?
;short umbacanoCount		; how many statues does Umbacano possess?
short umbacanoLastCount	; used to trigger enabling of the statues
short startDay
short stageVar					; used to set the stage based on umbacanoCount
short stolen						; set to 1 if the player steals any of the statues he sold to Umbacano
short placeStatues			; set to 1 when it is time to update display case
float fQuestDelayTime		; for quest script timing
short movestatue1			; set to 1 when statue1 is moved into its case

begin gamemode
	if placeStatues == 1

		if umbacanoLastCount < umbacanoCount
			set umbacanoLastCount to umbacanoLastCount + 1

			; enable the next statue in Umbacano's house
			if umbacanoLastCount == 1
;				message "DEBUG: enable statue 1"
				ms21statue1.enable
			elseif umbacanoLastCount == 2
;				message "DEBUG: enable statue 2"
				ms21statue2.enable
			elseif umbacanoLastCount == 3
;				message "DEBUG: enable statue 3"
				ms21statue3.enable
			elseif umbacanoLastCount == 4		
;				message "DEBUG: enable statue 4"
				ms21statue4.enable
			elseif umbacanoLastCount == 5
;				message "DEBUG: enable statue 5"
				ms21statue5.enable
			elseif umbacanoLastCount == 6		
;				message "DEBUG: enable statue 6"
				ms21statue6.enable
			elseif umbacanoLastCount == 7		
;				message "DEBUG: enable statue 7"
				ms21statue7.enable
			elseif umbacanoLastCount == 8		
;				message "DEBUG: enable statue 8"
				ms21statue8.enable
			elseif umbacanoLastCount == 9		
;				message "DEBUG: enable statue 9"
				ms21statue9.enable
			elseif umbacanoLastCount == 10		
;				message "DEBUG: enable statue 10"
				ms21statue10.enable
			endif
		endif
	
		if umbacanoLastCount == umbacanoCount
			; all statues enabled
			set placeStatues to 0
			set fQuestDelayTime to 10
		endif
	endif
end

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