GetPCMiscStat

From the Oblivion ConstructionSet Wiki
Jump to navigation Jump to search

Syntax:

GetPCMiscStat MiscStatID 

Example:

GetPCMiscStat 4  ; returns player's largest bounty 


Returns the specified player misc stat.


The misc stat IDs are:


 	0	DAYS IN PRISON
 	1	DAYS PASSED (Not working, use global GameDaysPassed instead.)
 	2	SKILL INCREASES
 	3	TRAINING SESSIONS
 	4	LARGEST BOUNTY
 	5	CREATURES KILLED
 	6	PEOPLE KILLED
 	7	PLACES DISCOVERED
 	8	LOCKS PICKED
 	9	PICKS BROKEN
 	10	SOULS TRAPPED
 	11	INGREDIENTS EATEN
 	12	POTIONS MADE
 	13	OBLIVION GATES SHUT
 	14	HORSES OWNED  
 	15	HOUSES OWNED  
 	16	STORES INVESTED IN 
 	17	BOOKS READ
 	18	SKILL BOOKS READ
 	19	ARTIFACTS FOUND 
 	20	HOURS SLEPT
 	21	HOURS WAITED
 	22	DAYS AS A VAMPIRE
 	23	LAST DAY AS VAMPIRE 
 	24	PEOPLE FED ON
 	25	JOKES TOLD
 	26	DISEASES CONTRACTED 
 	27	NIRNROOTS FOUND
 	28	ITEMS STOLEN
 	29	ITEMS PICKPOCKETED
 	30	TRESPASSES
 	31	ASSAULTS
 	32	MURDERS
 	33	HORSES STOLEN


Note that entering values higher than 33 and lower than 0 will return out-of-bounds data. GetPCMiscStat n simply reads the nth four-byte cluster after a certain point and displays that value as an unsigned long int formatted as a float with two decimal points.

See Also[edit | edit source]

ModPCMiscStat