Difference between revisions of "QueryStat - Game"
Jump to navigation
Jump to search
imported>JBurgess (→Notes) |
imported>Egocarib m |
||
Line 64: | Line 64: | ||
* Civil War Quests Completed | * Civil War Quests Completed | ||
* Daedric Quests Completed | * Daedric Quests Completed | ||
* Dawnguard Quests Completed | |||
* Dragonborn Quests Completed | |||
* Questlines Completed | * Questlines Completed | ||
* People Killed | * People Killed |
Latest revision as of 22:13, 7 September 2014
Member of: Game Script
Queries the value of the specified misc stat.
Syntax[edit | edit source]
int Function QueryStat(string asStat) native global
Parameters[edit | edit source]
- asStatName: The name of the misc stat
Return Value[edit | edit source]
The current value of the specified misc stat if it is found, or 0 if the specified misc stat is not found.
Examples[edit | edit source]
; Query the "Houses Owned" stat
if (Game.QueryStat("Houses Owned") == 5)
Debug.Trace("Player owns 5 houses!")
endif
Notes[edit | edit source]
QueryStat can be used to query any misc stat that the game tracks.
The following is a list of valid stats to query.
- Locations Discovered
- Dungeons Cleared
- Days Passed
- Hours Slept
- Hours Waiting
- Standing Stones Found
- Gold Found
- Most Gold Carried
- Chests Looted
- Skill Increases
- Skill Books Read
- Food Eaten
- Training Sessions
- Books Read
- Horses Owned
- Houses Owned
- Stores Invested In
- Barters
- Persuasions
- Bribes
- Intimidations
- Diseases Contracted
- Days as a Vampire
- Days as a Werewolf
- Necks Bitten
- Vampirism Cures
- Werewolf Transformations
- Mauls
- Quests Completed
- Misc Objectives Completed
- Main Quests Completed
- Side Quests Completed
- The Companions Quests Completed
- College of Winterhold Quests Completed
- Thieves' Guild Quests Completed
- The Dark Brotherhood Quests Completed
- Civil War Quests Completed
- Daedric Quests Completed
- Dawnguard Quests Completed
- Dragonborn Quests Completed
- Questlines Completed
- People Killed
- Animals Killed
- Creatures Killed
- Undead Killed
- Daedra Killed
- Automatons Killed
- Favorite Weapon
- Critical Strikes
- Sneak Attacks
- Backstabs
- Weapons Disarmed
- Brawls Won
- Bunnies Slaughtered
- Spells Learned
- Favorite Spell
- Favorite School
- Dragon Souls Collected
- Words Of Power Learned
- Words Of Power Unlocked
- Shouts Learned
- Shouts Unlocked
- Shouts Mastered
- Times Shouted
- Favorite Shout
- Soul Gems Used
- Souls Trapped
- Magic Items Made
- Weapons Improved
- Weapons Made
- Armor Improved
- Armor Made
- Potions Mixed
- Potions Used
- Poisons Mixed
- Poisons Used
- Ingredients Harvested
- Ingredients Eaten
- Nirnroots Found
- Wings Plucked
- Total Lifetime Bounty
- Largest Bounty
- Locks Picked
- Pockets Picked
- Items Pickpocketed
- Times Jailed
- Days Jailed
- Fines Paid
- Jail Escapes
- Items Stolen
- Assaults
- Murders
- Horses Stolen
- Trespasses
- Eastmarch Bounty
- Falkreath Bounty
- Haafingar Bounty
- Hjaalmarch Bounty
- The Pale Bounty
- The Reach Bounty
- The Rift Bounty
- Tribal Orcs Bounty
- Whiterun Bounty
- Winterhold Bounty