Difference between revisions of "QueryStat - Game"
Jump to navigation
Jump to search
imported>Cdcooley |
(Corrected "Fusion Cores Consumed", as the string actually used in the script differs from what is displayed on the Pip-Boy.) |
||
(One intermediate revision by one other user not shown) | |||
Line 24: | Line 24: | ||
== Notes == | == Notes == | ||
QueryStat can be used to query any misc stat that the game tracks. | QueryStat can be used to query any misc stat that the game tracks. | ||
The following is a list of stats by string value that is listed in Game Settings: | |||
* Animals Friended | |||
* Animals Killed | |||
* Armor Mods Crafted | |||
* Assaults | |||
* Backstabs | |||
* Bobbleheads Collected | |||
* Brotherhood of Steel Quests Completed | |||
* Bright Ideas | |||
* Buildings | |||
* Caps Found | |||
* Chems Crafted | |||
* Chems Taken | |||
* Chests Looted | |||
* Computers Hacked | |||
* Cores Ejected | |||
* Corpses Eaten | |||
* Creatures Killed | |||
* Critical Strikes | |||
* Days Passed | |||
* Days Survived | |||
* Automatron Quests Completed | |||
* Locations Cleared | |||
* Fatman Deaths | |||
* Fits of Rage | |||
* Food | |||
* Food Cooked | |||
* Food Eaten | |||
* Four Leaf Clovers | |||
* Fusion Cores Consumed | |||
* Grand Slams | |||
* Grim Reaper Sprints | |||
* Happiness | |||
* Hours Slept | |||
* Hours Waiting | |||
* Institute Quests Completed | |||
* Intimidations | |||
* Investments Made | |||
* Items Scrapped | |||
* Items Stolen | |||
* Junk Collected | |||
* Legendary Enemies Killed | |||
* Locations Discovered | |||
* Locks Picked | |||
* Main Quests Completed | |||
* Mines Disarmed | |||
* Misc Objectives Completed | |||
* Minutemen Quests Completed | |||
* Money Shots | |||
* Most Caps Carried | |||
* Murders | |||
* Mysterious Stranger Visits | |||
* Objects Built | |||
* Pants Exploded | |||
* Paralyzing Punches | |||
* People | |||
* People Killed | |||
* Plants Harvested | |||
* Pockets Picked | |||
* Power | |||
* Quests Completed | |||
* RadAway Taken | |||
* Rad-X Taken | |||
* Ricochets | |||
* Robots Hacked | |||
* Robots Killed | |||
* Railroad Quests Completed | |||
* Sandman Kills | |||
* Side Quests Completed | |||
* Magazines Found | |||
* Sneak Attacks | |||
* Persuasion Successes | |||
* Stimpaks Taken | |||
* Supply Lines Created | |||
* Levels Survived | |||
* Synths Killed | |||
* Times Addicted | |||
* Trespasses | |||
* Turrets Killed | |||
* Wasteland Whispers | |||
* Water | |||
* Weapons Disarmed | |||
* Weapon Mods Crafted | |||
* Workshops Unlocked | |||
Misc Stats for Minigames: | |||
* HSAtomicCommand | |||
* HSAutomatron | |||
* HSGrognak | |||
* HSJangles | |||
* HSPipfall | |||
* HSRedMenace | |||
* HSZetaInvaders | |||
== See Also == | == See Also == |
Latest revision as of 02:54, 24 March 2024
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 stats by string value that is listed in Game Settings:
- Animals Friended
- Animals Killed
- Armor Mods Crafted
- Assaults
- Backstabs
- Bobbleheads Collected
- Brotherhood of Steel Quests Completed
- Bright Ideas
- Buildings
- Caps Found
- Chems Crafted
- Chems Taken
- Chests Looted
- Computers Hacked
- Cores Ejected
- Corpses Eaten
- Creatures Killed
- Critical Strikes
- Days Passed
- Days Survived
- Automatron Quests Completed
- Locations Cleared
- Fatman Deaths
- Fits of Rage
- Food
- Food Cooked
- Food Eaten
- Four Leaf Clovers
- Fusion Cores Consumed
- Grand Slams
- Grim Reaper Sprints
- Happiness
- Hours Slept
- Hours Waiting
- Institute Quests Completed
- Intimidations
- Investments Made
- Items Scrapped
- Items Stolen
- Junk Collected
- Legendary Enemies Killed
- Locations Discovered
- Locks Picked
- Main Quests Completed
- Mines Disarmed
- Misc Objectives Completed
- Minutemen Quests Completed
- Money Shots
- Most Caps Carried
- Murders
- Mysterious Stranger Visits
- Objects Built
- Pants Exploded
- Paralyzing Punches
- People
- People Killed
- Plants Harvested
- Pockets Picked
- Power
- Quests Completed
- RadAway Taken
- Rad-X Taken
- Ricochets
- Robots Hacked
- Robots Killed
- Railroad Quests Completed
- Sandman Kills
- Side Quests Completed
- Magazines Found
- Sneak Attacks
- Persuasion Successes
- Stimpaks Taken
- Supply Lines Created
- Levels Survived
- Synths Killed
- Times Addicted
- Trespasses
- Turrets Killed
- Wasteland Whispers
- Water
- Weapons Disarmed
- Weapon Mods Crafted
- Workshops Unlocked
Misc Stats for Minigames:
- HSAtomicCommand
- HSAutomatron
- HSGrognak
- HSJangles
- HSPipfall
- HSRedMenace
- HSZetaInvaders