Editing
QueryStat - Game
Jump to navigation
Jump to search
Warning:
You are not logged in. Your IP address will be publicly visible if you make any edits. If you
log in
or
create an account
, your edits will be attributed to your username, along with other benefits.
Anti-spam check. Do
not
fill this in!
'''Member of:''' [[Game Script]] Queries the value of the specified misc stat. == Syntax == <syntaxhighlight lang="papyrus"> int Function QueryStat(string asStat) native global </syntaxhighlight> == Parameters == *asStat: The name of the misc stat == Return Value == The current value of the specified misc stat if it is found, or 0 if the specified misc stat is not found. == Examples == <syntaxhighlight lang="papyrus"> ; Query the "Houses Owned" stat if (Game.QueryStat("Houses Owned") == 5) Debug.Trace("Player owns 5 houses!") endif </syntaxhighlight> == Notes == 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 == See Also == *[[Game Script]] *[[IncrementStat - Game]] [[Category:Scripting]] [[Category:Papyrus]]
Summary:
Please note that all contributions to the CreationKit Wiki are considered to be released under the Creative Commons Attribution-ShareAlike (see
CreationKit:Copyrights
for details). If you do not want your writing to be edited mercilessly and redistributed at will, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource.
Do not submit copyrighted work without permission!
Cancel
Editing help
(opens in new window)
Navigation menu
Personal tools
Not logged in
Talk
Contributions
Create account
Log in
Namespaces
Page
Discussion
English
Views
Read
Edit
Edit source
View history
More
Search
Navigation
Landing page
Tutorials
Game Systems
Editor Reference
Scripting Reference
Recent changes
Help
Tools
What links here
Related changes
Special pages
Page information
Page values